如何在iis中托管wcf服务库? [英] how to host wcf service library in iis?

查看:137
本文介绍了如何在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[^]


这篇关于如何在iis中托管wcf服务库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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