A beginner's Guide to publishing Web projects

Source: Internet
Author: User

Asp. NET Server Publishing Tutorials for Beginners
            ——本文仅赠予第一次做Web项目,需要发布的新手们,转载的请注明出处。

First, let's talk about an environment we need. I'm using Visual Studio, version. NET 4.0, if it's 2012, it should be. NET4.5. We are building a Web project, the default name is WebApplication, not website, as for the difference between the pros and cons here I would not say, the online introduction of many. Now for the release of website, it is very simple, online this aspect of the introduction is also many, at the same time many domestic books in the introduction of website as an example, and even a lot of domestic primary teaching books simply do not mention the release, it seems that the release is born will be like, here I can not help but want to vomit trough. Okay, nonsense, don't say much, go on. I was in the release of WebApp, the main use of the Web Deploy3.5 to do, the majority of people should not be installed, we need to install their own, address: Web Deploy 3.5 Download URL I when published, the server side also installed. The following is the installation configuration for IIS , which, as required for website publishing, opens or closes Windows features in Control Panel, programs, and so on, with both the IIS and. NET frameworks in place. This is a local installation, 2012 of the server may be slightly different, I also did not use, we have to delve into it.
When we're done, we can start releasing our program, right-click the site name, select Publish Web

Choose a good publish profile, it should be the default, Service URLIn the Win7 we go to the HTTPS protocol, so the port needs 8172, the red part of the server you publish the IP can be, the other can be unchanged, in website/ApplicationIn the red section, write the name you want to publish, tick the box, click Publish

Enter the corresponding server login name and password.

This is a general process of publishing, but these successes do not necessarily mean that you will be able to access them remotely. The first is the database connection problem, in the Web. config to modify the connection information of the database, if you allow remote login to the post and then change it is no problem, otherwise, before the release will be modified. Other questions I suddenly said not comprehensive, for the time being written so much.

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.