ASP. NET MVC3 (1) website creation and publishing, asp. netmvc3
This section demonstrates how to use VS2010 to create and release 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, select a file -- create a project --- ASP. NET MVC3 web application. For example, select the Razor view. For example, click "OK" to create an MVC3 project. right-click a website release and select the project you just created. A drop-down menu is displayed, and 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. Next, open IIS. First, create an application pool with a custom name. For. NET, select 4.0. Click "OK". The MVCPOOL created application pool is displayed in the application pool in IIS.
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.