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

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 click on the test settings and we find

Don't worry, turn this off first, and then click on the other button "connect as" to jump out of this screen

We select specific users--set

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 all done, click the test connection again before the error 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 also right-click on the Service--> administration site--Browse and then we'll see our own webservice.

Just click on that Service1.asmx.

And our address becomes

The above is the whole content of this article, I hope that everyone's learning has helped, but also hope that we support topic.alibabacloud.com.

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.