ASP. NET MVC3 (1) website creation and publishing, asp. netmvc3

Source: Internet
Author: User

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.

 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.