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

Source: Internet
Author: User

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!

Related Article

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.