Get the App
SLTechnology News&Howtos  ›  Development  › 

How to create and publish an ASP.NET MVC3 website

Shulou Source: shulou.com Published: 2022-06-03 08:53:34 10月02日 Update

This article mainly introduces "how to create and publish ASP.NET MVC3 website", in daily operation, I believe many people have doubts on how to create and publish ASP.NET MVC3 website, Xiaobian consulted all kinds of information, sorted out simple and easy to use operation methods, hope to answer "how to create and publish ASP.NET MVC3 website" doubts helpful! Next, please follow the small series to learn together!

1. Project creation

Open VS2010, select File--New Project--ASP.NET MVC3 web application, as shown below

Then select Razor view, as shown below, click OK, so that an MVC3 project is created.

2. website released

Right-click the project you just created, a drop-down menu pops up, select the Publish menu, and the Publish WEB dialog box pops up, as shown below

In the "Publish WEB" form, select "File System" for the publishing method, and select "Publish to C:\inetpub\wwwroot\stock" for the target location. pictured above

Next we open IIS, first create the application pool, the name can be customized,. NET choose version 4.0. Click OK to see MVCPOOL in the application pool in IIS.

Create an application pool:

Next is to create a new website, right click to add a website, website name customization, application pool select MVCpool, click OK, you can browse the website in IIS

At this point, on "how to create and publish ASP.NET MVC3 website" learning is over, I hope to solve everyone's doubts. Theory and practice can better match to help you learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!

Tags: Website selection application program application project learning next file name method more menu help utility image above location dialog box folder article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS vpn MySQL Apple MariaDB