IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > ObjectServerElement Class : ServiceName Property |
'Declaration
<DescriptionAttribute("The name of the service URL where the application server is located. - Applicable to both client and server.")> <XmlAttributeAttribute("serviceName")> <DefaultValueAttribute()> Public Property ServiceName As String
'Usage
Dim instance As ObjectServerElement Dim value As String instance.ServiceName = value value = instance.ServiceName
[Description("The name of the service URL where the application server is located. - Applicable to both client and server.")] [XmlAttribute("serviceName")] [DefaultValue()] public string ServiceName {get; set;}
The final endpoint address is formed is formed from the RemoteBaseUrl, ServerPort and ServiceName properties. RemoteBaseUrl:ServerPort%P:IdeaBlade.Core.Configuration.ObjectServerElement.ServiceName%. For example, if the endpoint address is http://localhost:9009/myapp/EntityService.svc, then the ServiceName would be "myapp/EntityService.svc".
The ServiceName, RemoteBaseUrl and ServerPort 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