DevForce Help Reference
EntityServerHostFactory Class
Members 


Custom ServiceHostFactory for EntityServers in a hosted environment.
Syntax
'Declaration
 
Public Class EntityServerHostFactory 
   Inherits System.ServiceModel.Activation.ServiceHostFactory
'Usage
 
Dim instance As EntityServerHostFactory
public class EntityServerHostFactory : 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 each EntityServer: Factory="IdeaBlade.EntityModel.Server.EntityServerHostFactory".

This custom factory is used so that the appropriate data source extension will be passed to the EntityServer constructor in a hosted environement. This factory is not used in self-hosted environments (when using the console or Windows Service versions of the BOS).

Inheritance Hierarchy

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

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

EntityServerHostFactory Members
IdeaBlade.EntityModel.Server Namespace

Send Feedback