how to selfhost wcf without iis
Posted
by dotnetcoder
on Stack Overflow
See other posts from Stack Overflow
or by dotnetcoder
Published on 2010-03-26T17:12:50Z
Indexed on
2010/03/26
18:03 UTC
Read the original article
Hit count: 235
wcf
Reading up on WCF we have self hosting option available , one limitation here is we have to manage the host process lifecycle ourselves. What I am exploring here is to run the service without IIS and do a self hosting.
Few things come to mind - How will request management work here. In case of IIS it manages the request and give control to dotnet on a particular thread. In absence of IIS do we need to write code ourselves to manage incoming requests ( say on a tcp port ) or WCF provides some classes to manage request and spawn threads to process each thread.
- I am aware that in case of self hosting this needs to be a windows service. In case of self hosting how can me tap on the number of simultaneous requests on the sever , it can be managed by limiting the thread pool ? or we can configure this via wcf ?
Thanks dc
© Stack Overflow or respective owner