WCF deploys the IIS and WCF component methods to IIS, and provides the WCF file

Source: Internet
Author: User

My Computer environment:

windows8.1 Professional Edition +iis8.5+.net4.5 (highest)

Given that a lot of people want to just deploy the method, lazy to write a WCF program, here is a program.

WCF test Program

"1-4 Steps to install IIS and components; step 5th, deploy WCF files and access files"

  1. There are many tutorials on the web for installing IIS, and Control Panel-programs-programs and features-enable or disable Windows features.

    PS: Some items are not required, need more concise installation, can Baidu other tutorials

    650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/58/1F/wKioL1Sp92vArzsrAAFdzB3w50Y905.jpg "title=" IIS installs the. png "alt=" wkiol1sp92varzsraafdzb3w50y905.jpg "/>

  2. Because of the deployment of WCF, these two features also have to be installed,

    650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/1F/wKioL1Sp-KDyutxPAAE3tf4sUM0753.jpg "title=" WCF components. png "alt=" wkiol1sp-kdyutxpaae3tf4sum0753.jpg "/>

  3. Find: Control Panel-System and security-Administrative Tools--internet information Services (IIS) Manager

    --handler mapping, double-click.

    650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/22/wKiom1Sp-L6CoiG6AAJb23CKxi8896.jpg "title=" Handler mappings. png "alt=" wkiom1sp-l6coig6aajb23ckxi8896.jpg "/>

  4. Check if your WCF exists as a component "exists to indicate that the installation is functioning properly":

    650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/22/wKiom1Sp-RvjB8i0AAEfrXPcSQI069.jpg "title=" IIS components. png "alt=" wkiom1sp-rvjb8i0aaefrxpcsqi069.jpg "/>

  5. The next step is to deploy the well-written WCF file.

    A. Right-click Web site-Add Web site, enter site name, select application pool and physical path E:\wcfDEMO folder, directly put the WCF file

    650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/22/wKiom1Sp-hLRDa3gAAISLAvobZc374.jpg "title=" Configure the Web site. png "alt=" wkiom1sp-hlrda3gaaislavobzc374.jpg "/>

B. Right-click Site name-Manage Web site-start.    At this point start the site, there may be a small problem, he will prompt you file is occupied. You only need to change the port 80 to another port that is not occupied, click on the right side of the website name and click Bind.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/1F/wKioL1Sp_IWDHsF2AAK93hEKEp8984.jpg "title=" 81.png "alt=" Wkiol1sp_iwdhsf2aak93hekep8984.jpg "/>

C. Repeat the B action to start the Web site, then click Browse "Manage Web site-Browse".

Or, after starting the website, enter the address directly in the browser: http://localhost:81/service.svc


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/1F/wKioL1Sp_UOiki9iAAL7O2uvfTc069.jpg "title=" Web page. png "alt=" Wkiol1sp_uoiki9iaal7o2uvftc069.jpg "/> Learned to deploy, then, you can do a good work of your WCF program.

If the deployment also encountered a variety of wonderful problems, welcome through the Penguin 2446681809 AC

This article is from the "Little Flying Cow" blog, please be sure to keep this source http://blackstorm.blog.51cto.com/5528935/1599210

WCF deploys the IIS and WCF component methods to IIS, and provides the WCF file

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.