Hi,
What is different ways of hosting WCF service?
Thanks.
Different ways of hosting WCF services
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priya LingeRank #785 · 2.9K reputationPosted Dec 18, 2011, 7:01 PM EST
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.
Pravin MoreRank #1,419 · 1.2K reputationPosted Dec 18, 2011, 7:05 PM EST
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.