Win7 How to publish a Web Site System deployment project with IIS

Source: Internet
Author: User
Tags visual studio 2010

How does the project program publish to IIS, and how do I deploy the Web site with Win7 on IIS? Once the site system is ready, you need to publish the deployment on the server. Talk to your friends today. How to publish a Web site project on Win7 IIS Deployment ^_^

Tools/Materials
    • Windows 7

    • IIS 7 or later

    • Visual Studio 2010 (or other vs development environment)

Method/Step
  1. Make sure that IIS is installed on the system if it is not installed

    Please go to "control Panel" → "Programs" → "programs and features" → "Turn Windows features on or off"

    Select all the options under Internet Information Services to determine

  2. Get the published Program files

    If it is not published, right-click on the item and select Publish. Note The Publish method Select File system

  3. Open IIS, right-click on the Web site, select "Add Site"

  4. In the Add Web Site dialog box, enter the site name, select the physical path and port, other default, and then determine

    Physical path, select the folder to store the published file system

    Port Select a port other than 80

    Note that the port also has a certain range

  5. Now you can see our new site on the left, click on the application pool above

  6. Find our new application pool on the right, double-click

  7. The. NET framework that IIS uses by default is version 2.0, where you select the framework version used by the site

    If it was developed by VS2010, select 4.0

    If it was developed by VS2008, select 3.5

    If it was developed by VS2005, select 3.0

    Note that the managed pipeline mode is to select integration. If it is "classic", there may be errors at runtime

  8. Click New site → click content view → select Start Page → Right click to browse

  9. OK, the site has been able to access the normal (^o^)/

    On other computer browsers, just change localhost to your IP address. Port is still reserved

    END
Precautions
    • The Web. config file generally holds the database string, and after deployment, do not forget to modify

    • Thank you for your attention, hope to be useful to you oh # ^_^ #

Win7 How to publish a Web Site System deployment project with 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.