Hi,
What is different ways of hosting WCF service?
Thanks.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pravin MorePosted Dec 19, 2011, 12:05 AM
Hi Alok, there are 3 ways of hosting WCF.......
1.Self-hosting in any managed .NET application :-
The most flexible and easiest way to host WCF services is by self-hosting. To be able to self-host your services, you have to meet two requirements. First, you need the WCF runtime; second, you need a managed .NET application in which you can host ServiceHost
2.Hosting in a Windows service:-
Hosting a WCF service in a Windows service is a logical choice. Windows services shouldn't be confused with WCF services. They both use the word service, but they have different meanings. A Windows service is a process managed by the operating system. Windows comes with the Service Control Manager, which controls the services installed on the operating system. Windows uses services to support operating system features such as networking, USB, remote access, message queuing, and so on. You can use Visual Studio 2005 to create a Windows service using the Windows Service project template .
3.Hosting in different versions of IIS:-
Web service development on IIS has long been the domain of ASP.NET. When ASP.NET 1.0 was released, a Web service framework was part of it. Microsoft leveraged the ASP.NET HTTP pipeline to make Web services a reality on the Windows platform.
Thanks,
Pravin.
Priya LingePosted Dec 19, 2011, 12:01 AM
Diffrents ways of hosting WCF service
IIS hosting
Self hosting
Windows Activation Service
Windows Service
Please check below link for more information.
http://wcftutorial.net/WCF-Hosting.aspx
Thanks.