3

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

Thanks,

Scott

Daniel Vassallo
  • 337,827
  • 72
  • 505
  • 443
Scott Davies
  • 3,665
  • 6
  • 31
  • 39

1 Answers1

3

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

Daniel Vassallo
  • 337,827
  • 72
  • 505
  • 443
  • 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 Jan 09 '10 at 06:32
  • 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 Jan 09 '10 at 10:49