- IIS
- WAS (Windows Process Activation Services), built into Vista and Windows Server 2008
- Windows Service (starts and stops with the OS)
Service hosts must do the following:
- Instantiate System.ServiceModel.ServiceHost
- Add endpoints to the host
- Start the host listening
- WAS enables hosting of services that do not rely upon HTTP.
- When hosting in IIS, must choose a binding that specifies HTTP as the transport, such as basicHttpBinding, wsHttpBinding, wsDualHttpBinding. Choosing a binding based on a different transport causes an error.
- aspNetCompatibilityEnabled attribute of
must be set to true - AspNetCompatibilityRequirements must be set to Allowed at Service Behavior level.
No comments:
Post a Comment