In this screencast, I show you how to host WCF services within traditional Windows services. This is often necessary when you cannot use IIS/ASP.NET hosting for whatever reason or when you don't want to use message-based activation. In certain scenarios you want to ensure that your services are always running and that the host process won't be automatically recycled causing havoc on your underlying resources (think sockets). These are just a few of the reasons why some folks prefer this hosting technique in some cases.

hosting-in-windows-service-300

Be sure to check out our growing collection of short screencasts on our screencast landing page.

Previous WCF Screencasts (RSS for all posts in the series)