With Windows Communication Foundation (WCF) you can host WCF-based services in any Windows process, including a console application, a Windows Forms app, or a Windows Presentation Foundation (WPF) UI application. You can self-host WCF services in Windows NT services that run in the background. You can even host WCF services with HTTP-based endpoints inside IIS.

In the September issue of MSDN Magazine, Dominick Baier, Christian Weyer, and Steve Maine introduce you to a new IIS 7.0 feature called the Windows Process Activation Service (WAS) that makes it possible to host WCF services that support non-HTTP scenarios.

We'll take a look at how IIS 6.0 hosting works and why the new process in IIS 7.0 is better, and then explore WAS and show you how to use it in your own applications.

After you read the article, don't forget to browse the code online.

Enjoy!

Terrence Dorsey