Visio studio2010 developing WebService interfaces and deployment calls under WIN10

Source: Internet
Author: User

Environment: WIN10 Enterprise Edition + Visio studio2010 (automatically installed,. NET 4)

The WIN10 operating system needs to install Internet Information Services, see steps, if not found, use the enterprise version of the operating system:

1. Go to "turn Windows features on or off" by accessing the programs and features in Control Panel:

2. Locate the Internet infomation Services

Application features, I have all chosen here, the specific impact of each feature, I am not very clear:

Click OK to install.

3. Open the Visio Studio 2010 development Environment, create a new project, select by diagram, and the name I created is MyWebService1:

After the project is established, add the project,

There will be an ASMX file on the right, and a default Hello World method in the. cs file:

Add a test method for yourself:

Click Start Debugging to see the effect in the VS environment, the following shows the success of the build:

Release:

After clicking Publish, the target directory will appear the published file, publish completed:

Deployment:

Open in Control Panel, administrative tools->internet infomation Services

To modify folder permissions for a publication:

Select the site and click Browse:

Prompt for error message:

To view the Web site configuration interface, double-click Directory Browsing:

Click Enable:

Browse the site again to see the interface content:

Click Mywebservice1.asmx to view the contents of the interface:

The URL suffix plus the WSDL can see the XML:

Success!

Pits: When you start deploying in IIS, the default Web site "New virtual directory" was selected, and the deployment was unsuccessful, and then a newly created website was deployed to the top, and later friends noticed;

Visio studio2010 developing WebService interfaces and deployment calls under WIN10

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.