Reputation: 37
I have tried to google a lot to find a solution to how to host multiple WCF web services on local IIS 6.
So i am asking here. If I can get a step of procedure then i would be glad.
Upvotes: 0
Views: 249
Reputation: 2535
To accomplish your goal this is how to do it:
If you notice we added Services node and service under it? That is the part that allows us to specify multiple services.
Now click MultipleHostService project
Build the Project MultipleHostService ( Make it sure no failed shown in Error List )
You should see something in the browser like this:
Tools and settings I've used:
Improvements :
Disclaimer : I haven't tested it using IIS 6 but I'm confident that it works on IIS7. Configuration about IIS is not part of this topic so you migt run some issues which I'm not aware of. There are also some other ways to accomplish multiple hosting of services but this topic is focusing on usage of configuration file. And please do some study on proper Bindings, Behavior and MetaDataExhange which I didn't discuss here.
Upvotes: 2