ASP. NET MVC3 website creation and publishing (1), asp. netmvc3
Sometimes we have a website but don't know how to publish it. This section demonstrates how to use VS2010 to create and publish a website created by MVC3. To use VS2010 to create the MVC3.0 website, you need to download the MVC3.0 installation package. You can download it online.
1. Create a project
Open VS2010 and select File-new project-ASP. NET MVC3 web application, as shown in
Select the Razor view, for example, click OK, so that an MVC3 project is created.
2. website publishing
Right-click the project you just created, and a drop-down menu is displayed. Select "publish". The "publish WEB" dialog box is displayed, as shown in figure
In the "publish WEB" form, select "File System" as the release method. The target location is released to the C: \ inetpub \ wwwroot \ stock folder. For example
Next, open IIS. First, create an application pool with a name that can be customized. For. NET, select 4.0. Click OK to view the MVCPOOL in the application pool of IIS.
Create an application pool:
Next, create a new website, right-click the website, customize the website name, select MVCpool for the application pool, and click OK to view the website in IIS.
The above is the process for creating and releasing ASP. NET MVC3 websites. If you have some general ideas, please do it as soon as possible!