-
In this section we demonstrate how to use VS2010 to create a Web site built with the release MVC3. Using VS2010 to create a MVC3.0 website, you need to download the MVC3.0 installation package, which you can download on the Internet. 1. Project creation open VS2010, select File-New Project---ASP. NET MVC3 Web application, and then select Razor view, for example, click OK so that a MVC3 project is created 2 Site Publishing right-click on the project you just created, pop up a drop-down menu, choose the "Publish" menu, pop up the "Publish Web" dialog box, such as
In the Publish Web form, the Publish method selects "File system" and the target location we choose to publish under C:\inetpub\wwwroot\stock this folder. As we open IIS next, we first create the application pool, the name can be customized, and. NET chooses version 4.0. Click OK to see Mvcpool in the application pool in IIS create an application pool
Next is the new site, right-click Add site, site name customization, application pool selection mvcpool, click OK, you can browse the site in IIS
Visualc# Database Advanced Tutorial document sharing