DevForce Help Reference
RemoteBaseUrl Property (ObjectServerElement)


Gets or sets the URL where the application server is located - Applicable to both client and server.
Syntax
'Declaration
 
<DescriptionAttribute("The URL where the application server is located - Applicable to both client and server.")>
<XmlAttributeAttribute("remoteBaseURL")>
<DefaultValueAttribute()>
Public Property RemoteBaseUrl As String
'Usage
 
Dim instance As ObjectServerElement
Dim value As String
 
instance.RemoteBaseUrl = value
 
value = instance.RemoteBaseUrl
[Description("The URL where the application server is located - Applicable to both client and server.")]
[XmlAttribute("remoteBaseURL")]
[DefaultValue()]
public string RemoteBaseUrl {get; set;}
Remarks
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ObjectServerElement Class
ObjectServerElement Members

Send Feedback