Share via


DataServiceContext.BaseUri Property

Definition

Gets the absolute URI identifying the root of the target data service.

public virtual Uri BaseUri { get; set; }
member this.BaseUri : Uri with get, set
Public Overridable Property BaseUri As Uri

Property Value

Uri

An absolute URI that identifies the root of a T data service.

Remarks

A Uri provided with a trailing slash is equivalent to one without such a trailing character. Example: http://server/host/myservice.svc

Applies to