IIS主机根目录下的WCF服务 [英] WCF service on root of IIS host

查看:130
本文介绍了IIS主机根目录下的WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在域的根目录中设置IIS中托管的WCF服务?即 http://www.example.com 而不是 http://www.example.com/Service1.svc/

How would I set up a WCF service hosted in IIS on the root of the domain? i.e. http://www.example.com instead of http://www.example.com/Service1.svc/

我可以找出如何摆脱服务文件名。

I can't figure out how to get rid of the service filename.

推荐答案

将Service1.svc添加到IIS中的默认文档名称将其移至列表顶部。

Add Service1.svc to the default document names in IIS and move it to the top of the list.

这篇关于IIS主机根目录下的WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆