如何在iis中托管wcf服务库?

问题描述:

有人可以告诉我如何在IIS中托管wcf服务类库吗?



如你所知,如果我们创建WCF服务应用程序,它将拥有.svc文件文件,但如果我们创建wcf服务类库,它将没有?



是否有必要使用.svc文件在IIS中托管wcf服务(应用程序或类库)?

Can someone tell me how to host wcf service class library in IIS?

As you know, if we create WCF Service application, it would have the .svc file file, but if we create wcf service class library, it would not have one?

is it necessary to have .svc file for hosting the wcf service (Application or Class Library) in IIS?

显然你需要.svc文件。否则客户将参考呼叫WCF服务。



以下链接将有助于托管WCF服务:



如何主机-wcf-service-in-iis-7.aspx [ ^ ]



关于如何托管WCF服务的初学者教程(IIS托管和自托管) [ ^ ]



WCF-IIS-Hosting [ ^ ]
Obviously you need .svc file. Otherwise what client will refer to call WCF service.

Below links will help to host WCF service:

How-to-host-wcf-service-in-iis-7.aspx[^]

A Beginner's Tutorial on How to Host a WCF Service (IIS Hosting and Self Hosting)[^]

WCF-IIS-Hosting[^]