views:

78

answers:

1

Hi,

When a WCF 3.5 REST endpoint (via WebServiceHost) handles a URI request, does it invoke the associated procedure asynchronously?

Thanks,

Scott

+3  A: 

Yes, WebServiceHost.Open() listens to requests from a separate thread.

Daniel Vassallo
Thanks for you answer! I don't see this documented at the MSDN link you provided. Is there another document that explains this ?
Scott Davies
Not an official document, but an accepted Stack Overflow Answer: http://stackoverflow.com/questions/932690/wcf-servicehost-oddity-still-alive-even-if-thread-is-dead/932730#932730. Note that `WebServiceHost` and `ServiceHost` are basically the same, where WebServiceHost is tailored for the web.
Daniel Vassallo
Great! Thanks for the Stack Overflow pointers.
Scott Davies