HttpStack Enumeration

Represents the type of HTTP implementation to use when accessing the data service.

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


Public Enumeration HttpStack
public enum HttpStack


Member name Description
Auto The client automatically determines the HTTP implementation to use. This is the recommended setting.
ClientHttp A Silverlight client HTTP implementation is used.
XmlHttp An XMLHTTP implementation is used.


The default value is Auto. When Auto is used, the client library automatically chooses the HTTP implementation that is used to access the data service. For example, when an XMLHTTP-based request cannot be used because of out-of-browser or cross-domain requirements, the Silverlight client HTTP implementation is used.

Version Information


Supported in: 5, 4


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.