.net

Advantages and Disadvantages of hosting WCF service in iis (Part-22)

Posted on

Advantages of Hosting WCF service in iis: No custom code is required to host the service The servicehost directive in .svc file is responsible for creating an instance of Service host when required, so no need to write custom code for hosting Automatic message based activation We need not start/stop the service manually.iis provides message […]

.net

Hosting WCF service in iis(Part-21)

Posted on

To Host a WCF service in iis,we will make use of same WCFSelfHostService webservice that we have created. To host WCF service in iis: Right click on solution–>Add–>new website–>WCF service–>Save it in same folder where we have WCFSelfHostServiceĀ and name it WCFIISHost. Delete cs files from appcode folder because we wanted to host existing service Add […]