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
Request path: *.svc
Type: System.ServiceModel.Activation.HttpHandler
Name: svc-Integrated
That’s it!
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!
相关文章推荐
- 66.源码解析:ButterKnife(7.0.1)
- 67.源码解析:Picasso
- vb Form的基本事件
- java开发俄罗斯方块学习笔记 Day-7 多态
- Linux下MySQL/MariaDB Galera集群搭建过程
- iOS开发-对数组进行排序
- Linux C 预处理详解
- <iframe>相关问题
- C++ MySQL封装类
- 递归遍历文件列表,获取Root权限
- cmd下操作mongodb
- 你的精力分配决定了你的层次
- Unity3D研究院之主角面朝方向一定区域内对象角度计算
- Linux下获得进程id和进程名字
- Android SQLite API的使用(非原创)
- Inventory
- css的opacity属性
- Android Material Design:NavigationView抽屉导航菜单
- Android xml文件解析 SAX,DOM,PULL
- 多线程下载核心代码