Welcome to MSDN Blogs Sign in | Join | Help

How WebServiceHost Works

WebServiceHost is a new feature in Orcas that makes it easy to put up simple web services that are built on HTTP and POX. However, there's no requirement that forces you to build REST and POX services using WebServiceHost. WebServiceHost exists to make a simple case easy, but you're not locked into using that approach if the simple case doesn't apply to you.

Here's everything behind WebServiceHost if you want to build your own.

  • WebServiceHostFactory exists to bootstrap WebServiceHost when building a web site in IIS
  • WebServiceHost disables any service metadata or help pages so that they don't steal any part of the URI space under your web site
  • WebServiceHost generates endpoints for all of your contract types with a WebHttpBinding so that you don't have to describe the service endpoints in a configuration file
  • WebServiceHost adds a WebHttpBehavior to all of your service endpoints so that Get and Invoke operations in your service contract work without any additional setup

Next time: Security Session Inactivity

Published Monday, June 23, 2008 5:00 AM by Nicholas Allen
Filed under: , , ,

Comments

Monday, June 23, 2008 12:05 PM by Nicholas Allen's Indigo Blog

# Mapping Client Certificates

Whenever my service receives a message the service operation fails because the user identity is not mapped

New Comments to this post are disabled
 
Page view tracker