ApplicationServicesHostFactory Class
Provides a factory class that creates instances of the authentication service, role service, and profile service in managed hosting environments.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] [AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class ApplicationServicesHostFactory : public ServiceHostFactory
This factory class provides a way to create instances of the AuthenticationService, ProfileService, and RoleService classes.
To use this factory class, create a WCF Service (.svc) file and specify ApplicationServicesHostFactory in the ServiceHosting attribute of the @ ServiceHost directive.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
System.ServiceModel.Activation::ServiceHostFactoryBase
System.ServiceModel.Activation::ServiceHostFactory
System.Web.ApplicationServices::ApplicationServicesHostFactory
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.