C#webservice Publishing and IIS Publishing

Source: Internet
Author: User

The first thing we have to do is to open the IIS (Internet Information Service), I use WIN8 system, so here with the WIN8 system operation in terms of



First, some pre-operation of IIS

1. Open the Control Panel and enter the program

2. After entering the program we find the ability to turn windows on or off

3, after entering the Internet Information Services are selected, click "OK"


Before we go back to the Control Panel and find the system and security management Tools


Click on "Administrative Tools" , the first one is our IIS, double-click to open it


We'll pop up the interface, and then we'll stop and then we're going to release webservice.

We can expand the site later, in this directory there is a "Default Web site", we right --and manage the site--Browse

This page appears to indicate that our previous IIS settings were successful.



Second, WebService release

We are now creating a webservice in VS2010




The name WebService1 is our newly created webservice, and then we right- Click this webservice--> release --


After this interface, select file System and the interface will look like this.


You can choose the target location, but we have to remember this target location, here I saved it to D:\WebService here, click "Publish" we are released.



Iii. Publishing WebService on IIS
Then we go back to the previous IIS interface (the last interface in the first step), and we right-click on the website to add the site


When we fill out those two things, we clickTest SettingsYou will find
Don't worry, just turn this off, and we'll click another button."Connect as"Jump out of this interface

We choosespecific user --settings

Then there is this window, if you do not set the user name is administrator, password is set by their own password, when these are ready, click againTest ConnectionThe mistake of the past is gone.

The following IP address you can modify, if you want to use in other places, you can set the IP address to their own computer's IP address, the port number can not be 80, because the other occupied, casually changed one on it, and finally "OK" OK.


We can now alsoRight-click Service--> Administration Website --BrowseAnd then there's our own webservice.

Just click on that Service1.asmx.
And our address becomes

So this is the end of a process, if there is nothing to say the wrong place can leave a message to correct, thank you ~ ~ ~

C#webservice Publishing and IIS Publishing

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.