Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is Self hosting and IIS hosting?

Difference between Self hosting and IIS hosting?

Is IIS support only HTTP protocol?

Can we use multiple endpoint on webservice ?
Posted

1 solution

Taken from here
One of the benefits of hosting a WCF service using IIS or WAS is that each automatically creates an instance of the ServiceHost class when a client calls the service. You simply need to specify what service the host should activate. You do this in a .svc file by setting the Service property of the ServiceHost directive. The endpoints are defined in the Web.config file.
If you self-host a service, you must create an instance of the ServiceHost class and configure it in code. You can then define endpoints in code or in a configuration file. You will see how to take these steps in this tutorial.

Yes. IIS is not only about HTTP. More datailed Here

Multiple endpoint tutorial
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900