IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > ObjectServerElement Class : RemoteBaseUrl Property |
'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;}
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 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