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
精彩评论