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