What are the possible ways of hosting a WCF service ?
What are the Possible Ways of Hosting a WCF Service
Hi
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.
RanjithKumar chiguruvadaPosted Sep 18, 2012, 7:40 AM
There are 3 ways of hosting a wcf service.that are
1)using IIS
2)using SelfHosting
3)using WAS
- Hosting in IIS6 only support HTTP protocols and "on-demand" activation
- Hosting in IIS7 / WAS (only on Vista / Server 2008 and up) supports all protocols and "on-demand" activation
- Self-Hosting in a console app or Windows service supports all protocols, but doesn't support on-demand activation (e.g. your service must be up and running all the time, it cannot be magically activated when a request comes in)
Worth reading and very useful article "Hosting and Consuming WCF Services" found on MSDNnallyaPosted Sep 18, 2012, 7:20 AM
There are four common ways, all of which are outlined nicely on MSDN: Hosting WCF Services.
refer this
http://msdn.microsoft.com/en-us/library/bb332338.aspx