您的位置:首页 > 其它

Publishing a WCF service on IIS 8

2015-12-23 13:10 549 查看

WCF services don’t run on IIS 8 with the default configuration, because the webserver doesn’t know, how to handle incoming requests targeting .svc files. You can teach it in two steps:

1. Add a new MIME type:

Extension: .svc

MIME type: application/octet-stream





2. Add a new Managed HTTP Handler:

Request path: *.svc

Type: System.ServiceModel.Activation.HttpHandler

Name: svc-Integrated





That’s it!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: