MVC4.0 website Release

Source: Internet
Author: User

first, VS2010 under the MVC4.0 project release

First, build the Web site publishing file.

The first step, "Right-click" The MVC4.0 project to publish, select the "Publish (B) ..." option,

The second step, set in the Publish Web dialog box, the profile name defaults to "Profile 1", which can be modified to the desired name for identification or not to change. Publish method Select File system, choose a folder at the target location to hold all the files that will be published for the entire site, here I choose "F:\Web", then click "Publish" button. For my configuration:

Step three, wait for "publish successful" to view the release file

Next, deploy the successful site to iis7.0.

First, click on the Start menu, enter "IIS" in the search box, and then open "IIS",

In the second step, right click on "website", select "Add Site" option, pop up the following window:

The third step, "site name" up, "application pool" according to the program selection, "Physical path" is the path when publishing the site, "port" as needed to configure, click "OK". My configuration

Fourth, "Right click" New website, select "Manage Site" option, then select "Start".

The fifth step, according to the added IP address and port number in the browser to access such as "http://localhost:8082/", access is successful, so that the release was successful.

Second, VS2012 under the MVC4.0 project release

First, it is still the "build" and "Publish" project system, just a window programming multi-tab window, referencing the VS2010 project.

MVC4.0 website Release

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.