Use VS2008 to publish a simple webservice

Source: Internet
Author: User

A well-developed webservice, how to publish, for other computers to access it?

This article will introduce how to publish a simple webservice, which is the content of the online view of other people's articles, their own imitation of doing it again, it will inevitably occur errors, if found wrong, I hope you can point out, thank you!!

1. Preparatory work

1.1 A C # development good WebService instance. Refer to the following example:

Http://www.cnblogs.com/LCCRNblog/p/3716406.html

1.2 Install IIS, install the process:

Http://www.cnblogs.com/LCCRNblog/p/3816016.html

1.3 After installing IIS, in the configured physical path (my is K:\web) to set up a folder for WebService publishing (my is Mysvrsite), after completion, double-click Internet Information Services (IIS) Manager,

Right-click on the Add application on the default Web site and the folder mysvrsite you just created will appear.

2. Use VS2008 to open WebService, click the Build-and-publish website, set the path K:\web\mysvrsite in the popup window (this path is the virtual path set in 1.3).

A webservice is released and can be accessed as follows

Http://yourIP:8080/mysvrsite/Service.asmx

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.