DevForce Help Reference
EntityServiceHostFactory Class
Members 


ServiceHostFactory for the EntityService in a hosted environment.
Syntax
'Declaration
 
Public Class EntityServiceHostFactory 
   Inherits System.ServiceModel.Activation.ServiceHostFactory
'Usage
 
Dim instance As EntityServiceHostFactory
public class EntityServiceHostFactory : System.ServiceModel.Activation.ServiceHostFactory 
Remarks
When running the Business Object Server in a hosted environment (IIS or WAS) you must specify this class on the ServiceHost directive in the *.svc file for the EntityService: Factory="IdeaBlade.EntityModel.Server.EntityServiceHostFactory".

This factory is used to initialize the EntityServiceHost, which controls configuration of the EntityService. This factory is not used in self-hosted environments (when using the console or Windows Service versions of the BOS).

If you implement a custom EntityServiceHost for the EntityService you will also need to provide a custom EntityServiceHostFactory.

Inheritance Hierarchy

System.Object
   System.ServiceModel.Activation.ServiceHostFactoryBase
      System.ServiceModel.Activation.ServiceHostFactory
         IdeaBlade.EntityModel.Server.EntityServiceHostFactory

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityServiceHostFactory Members
IdeaBlade.EntityModel.Server Namespace

Send Feedback