开发者

How can I Host Multiple Wcf Service library in same IIS virtual directory

开发者 https://www.devze.com 2023-03-28 04:47 出处:网络
I have a lot of WCF Service Library and each libary has multiple service. I want to host that libaries at one virtual directory in IIS. How can I do that. After that I don\'t to use config file I read

I have a lot of WCF Service Library and each libary has multiple service. I want to host that libaries at one virtual directory in IIS. How can I do that. After that I don't to use config file I read that information from db. I can do开发者_Go百科 that custom service host factory but how can I host Multiple Wcf Service library in same IIS virtual directory?


Create a *.svc for each of your multiple service libraries inside that IIS virtual directory..

Each SVC file corresponds to one service (implementation class), so each service needs its own *.svc file - but you can absolutely have multiple *.svc files in a single directory, no problem

0

精彩评论

暂无评论...
验证码 换一张
取 消