IdeaBlade DevForce 2010 Help Reference
EntityServiceHostFactory Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel.Web Assembly > IdeaBlade.EntityModel.Server Namespace : EntityServiceHostFactory Class



ServiceHostFactory for the EntityService in a hosted environment.

Syntax

Visual Basic (Declaration) 
Public Class EntityServiceHostFactory 
   Inherits System.ServiceModel.Activation.ServiceHostFactory
Visual Basic (Usage)Copy Code
Dim instance As EntityServiceHostFactory
C# 
public class EntityServiceHostFactory : System.ServiceModel.Activation.ServiceHostFactory 
C++/CLI 
public ref class EntityServiceHostFactory : public 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.