DataServiceHost Class

DataServiceHost Class

The ADO.NET Data Services class derived from WebServiceHost used to instantiate data services.

This API is not CLS-compliant. The CLS-compliant alternative is [None .].

Namespace:  System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

[CLSCompliantAttribute(false)]
public class DataServiceHost : WebServiceHost

ADO.NET Data Services are not autonomous server entities. Instead, the service is a component hosted in an environment such as the Windows Communication Foundation (WCF) that provides core server networking facilities. Specifically, a service does not bind to and listen on a network socket for incoming requests to its Representational State Transfer (REST) entry points. The host handles direct interactions with the network and support caching, scalability, and authentication modules.

ADO.NET Data Services defines a generic hosting interface IDataServiceHost that abstracts its implementation from a specific host. This allows ADO.NET Data Services to run in a range of hosting environments.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5 SP1

Community Additions

ADD
Show:
© 2016 Microsoft