Add WCF Service Support in IIS8

Source: Internet
Author: User

650) this. width = 650; "border =" 0 "alt =" "width =" 525 "height =" 308 "src =" http://www.bkjia.com/uploads/allimg/131228/1A6002411-0.png "style =" color: rgb (51, 51, 51); font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; border: none; margin: 0px; padding: 0px; width: 273px; height: 147px; cursor: pointer; "/>

Recently, Silverlight and Windows Phone applications were transplanted to the Windows 8 platform, and some traditional WCF Service applications were tested in IIS8. It was found that IIS8 does not support the WCF Service svc request, later it was found that IIS8 lacked the management Handler for the WCF Service. After you add the Handler as follows, IIS8 supports the WCF Service.

1. First, add the MIME type extension ". svc" and the MIME type "application/octet-stream"

650) this. width = 650; "border =" 0 "alt =" "width =" 365 "height =" 212 "src =" http://www.bkjia.com/uploads/allimg/131228/1A6005264-1.jpg "style =" border: none; margin: 0px; padding: 0px; cursor: pointer; "/>
 

2. Then add Managed Handler in "Handler Mappings,

650) this. width = 650; "border =" 0 "alt =" "width =" 83 "height =" 76 "src =" http://www.bkjia.com/uploads/allimg/131228/1A6002424-2.jpg "style =" border: none; margin: 0px; padding: 0px; cursor: pointer; "/>
650) this. width = 650; "border =" 0 "alt =" "width =" 196 "height =" 230 "src =" http://www.bkjia.com/uploads/allimg/131228/1A6003951-3.jpg "style =" border: none; margin: 0px; padding: 0px; cursor: pointer; "/>
Request path :*. svcType: System. serviceModel. activation. httpHandlerName: svc-Integrated 650) this. width = 650; "border =" 0 "alt =" "width =" 470 "height =" 383 "src =" http://www.bkjia.com/uploads/allimg/131228/1A6002Q6-4.jpg "style =" border: none; margin: 0px; padding: 0px; cursor: pointer; "/> 650) this. width = 650; "border =" 0 "alt =" "width =" 774 "height =" 119 "src =" http://www.bkjia.com/uploads/allimg/131228/1A6003253-5.jpg "style =" border: none; margin: 0px; padding: 0px; cursor: pointer; "/>
After completion, IIS8 can support the WCF Service svc request.

This article is from the "Kevin Fan" blog, please be sure to keep this source http://kevinfan.blog.51cto.com/1037293/1058524

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.