简体   繁体   中英

Hosting net.tcp wcf service in iis7

I have created a class library project to create WCF service for net.tcp binding, which contains datacontract, service contract and service implementation class, I have also added web.config file and a .svc file. After this i went ti iis7 to create an application under default website. I added binding to support net.tcp. But site is not showing option to browse with net.tcp binding. See below pic. 在此处输入图片说明

I have checked WCF Non-HTTP Activation.

在此处输入图片说明

Services related to net.tcp are also running. 在此处输入图片说明

Please help.

But site is not showing option to browse with net.tcp binding

It is not showing up because net.tcp binding cannot be consumed from a web browser. However, this doesn't mean that you cannot consume it from a client application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM