Visual Studio2010 Publishing Site (i)

Source: Internet
Author: User

I rookie, the first release of the Web site, search on the internet for a long time also did not find more detailed about the VS2010 publishing site of the post, through a combination of online the great God of the post himself, and now successfully deployed in the server, the following on my experience and share with you.

Development tools for mysql+vs2010, the following to develop this machine as an example of how to use this machine as a server, the site published on the computer. Published on the server will be described in detail in the next post.

A: Make sure that your computer has IIS installed, if not, please install first, the specific installation steps on the Internet there are many, there is not much to say.

Two: Open vs, open the project you want to publish, in the solution Manager you can see the following structure

Select the Web, right-click Regenerate, regenerate and continue right-click to publish, the following interface will appear (I used the three layer model, do not need to tube the other, just to regenerate the web, the other files will be in the way of intermediate price DLL in the published site)

Publish method Select the file system, the target location can be selected to any place on your computer, and then click on the release, after the successful release will be in the corresponding folder to generate the following files

Three. Here, the website is published, next configure IIS, I use IIS7.0

Open IIS, click the Web site folder, right-click on the site, add site

Website Name: You can have the name you want.

Application pool: The best choice of classic application pool, why I do not know, hey.

Physical path: Select the folder you just posted the site to: mine is f:/website.

IP address: With this machine on the line, the port default 80, if necessary can also be changed to another port

Hostname: That is, the domain name, if there can be filled, no words for empty can also

After filling in OK, ok a website has been posted in your computer, through the browser input just typed IP address can be accessed.

Note: There may be some problems after the release, there are answers on the Internet, you can give me a message, hey, I met a 64-bit issue, and finally saw the online great God's post to solve the problem, I hope this article can help you!

Visual Studio2010 Publishing Site (i)

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.