Chapter 3. Hosting and Configuration

In this chapter, we will cover:

  • Hosting a service in a console application
  • Hosting a service in Windows Service
  • Hosting a HTTP service with ASP.NET-compatible context
  • Hosting a non-HTTP service in IIS 7
  • Customizing IIS ServiceHost via ServiceHostFactory
  • Specifying a dedicated service instance for a singleton service
  • Hosting a service in WSS 3.0

Introduction

Service hosting and configuration is very important for building WCF services, especially at the service deployment stage. After developers complete the service development, we will need to deploy the service so as to make it available to all the client consumers. In the real world, there are various service deployment scenarios available, which will result in different ...

Get Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.