Web Learning Diary--publishing a WebService on IIS

Source: Internet
Author: User

No development process, just release process

First, the premise

Development is using the VS2013

have never done a Web publishing, in the Internet to find examples, see always with their own situation is not consistent, but also some people put forward the issue of VS2013 Publishing site, but the solution is very few, very hard to find a, be sure to write down, convenient later access.

To publish a webservice to IIS, first install IIS, there are many tutorials on the network to install IIS, the second step is to use vs to publish WebService, and the third step is to create a Web site on IIS.

Second, release WebService with VS2013

After the development with VS2013, right-click on the project above webservice, the right-click menu appears:

Then choose Publish Web Site, which pops up the Publish website window:

The drop-down list "Select or import the Publish profile" is empty by default, and clicking on the "New profile" option will bring up the "New Profile" window:

Enter the name you want in the input box (customize a name to suit your needs). then click OK. Go back to the Publish window and click Next to go to the "Connect" step:

In the Redistribution method drop-down list, select File System, and then click the Browse button (the button content is "...") after the "target" location, and the "Target Location" window appears:

Select "Local IIS" and choose what you want in the menu that appears on the right. After you return to the Publish window, the direct "publish" is OK.

At this point, VS2013 begins work on the release, during which the output window of VS will always output the information that the publication executes, and when it finishes, it will give a message that the publication is successful, as well as the publishing location. General will publish success, it is not important, it is important to keep in mind the release location!

Iii. creating a Web site 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.