Visual Basic (Declaration) | |
---|---|
<XmlAttributeAttribute("remoteBaseURL")> <DefaultValueAttribute()> <DescriptionAttribute("The URL where the application server is located - Applicable to both client and server.")> Public Property RemoteBaseUrl As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ObjectServerElement Dim value As String instance.RemoteBaseUrl = value value = instance.RemoteBaseUrl |
C# | |
---|---|
[XmlAttributeAttribute("remoteBaseURL")] [DefaultValueAttribute()] [DescriptionAttribute("The URL where the application server is located - Applicable to both client and server.")] public string RemoteBaseUrl {get; set;} |
C++/CLI | |
---|---|
[XmlAttributeAttribute("remoteBaseURL")] [DefaultValueAttribute()] [DescriptionAttribute("The URL where the application server is located - Applicable to both client and server.")] public: property String^ RemoteBaseUrl { String^ get(); void set ( String^ value); } |
The RemoteBaseURL consists of the protocol and server name (or IP address) used to form the final endpoint address. Supported protocols are: "http", "https", "net.tcp" or "net.pipe". If you do use named pipes, remember it works on the localhost only, and do not specify a ServerPort.
The final endpoint address is formed from the RemoteBaseUrl, ServerPort and ServiceName properties. For example, if the endpoint address is http://localhost:9009/myapp/EntityService.svc, then the RemoteBaseUrl would be "http://localhost".
The RemoteBaseURL, ServerPort and ServiceName values are ignored by the application server when hosted by IIS. These values are also not requred when endpoint configuration information can be obtained from the system.serviceModel section of the client's configuration file.
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