C # write WebService and publish

Source: Internet
Author: User

Just beginning to contact C # How to release the program are uncertain, after viewing the information on the online colleagues, they wrote a webservice published under

1. First write your own program, the mouse select the written WebService program, click the right mouse button--------> release, the following figure:

2. The target location is the WebService release directory (local directory).

3. Find Internet Information Services (IIS) management, there are 2 ways:

1. Start------> Control Panel--------> System and Security--------> Management Tools-------->internet Information Services (IIS) management, double-click into

2. Select Computer right-click-------> Management-------> Services and applications------>internet Information Services (IIS) management, click, enter

4. Find a Web site in Internet Information Services (IIS) management, select the site, right-click to select Add site, as shown below:

The website name is defined by itself,
Physical path, find the path that the webservice is stored in when it is released, define the port itself,
The host name is local.

5. If the website needs to reboot, the following figure:

6. Publish complete, visit WebService, as shown below.

7. End.

Related Article

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.