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

3.1k views Asked by At

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 that custom service host factory but how can I host Multiple Wcf Service library in same IIS virtual directory?

1

There are 1 answers

4
marc_s On BEST ANSWER

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