merge historyitem and statusitem
This commit is contained in:
@@ -63,8 +63,19 @@ Public Class Service
|
||||
|
||||
' start the service
|
||||
Dim oAddresses() As Uri = {Binding.GetAddress(Config.Host, Config.Port, Config.Name)}
|
||||
Logger.Info("Starting WCF Endpoint at [{0}]", oAddresses.First.ToString)
|
||||
ServiceHost = New WCF.ServiceHost(Of WCF.JobRunner)(oAddresses)
|
||||
ServiceHost.EnableMetadataExchange(True)
|
||||
|
||||
Logger.Debug("Listing Endpoints:")
|
||||
For Each oEndpoint In ServiceHost.Description.Endpoints
|
||||
Logger.Debug("Name: {0}", oEndpoint.Name)
|
||||
Logger.Debug("Address: {0}", oEndpoint.Address.ToString)
|
||||
Logger.Debug("Listen Uri: {0}", oEndpoint.ListenUri.AbsoluteUri)
|
||||
Logger.Debug("Binding: {0}", oEndpoint.Binding.Name)
|
||||
Logger.Debug("Contract: {0}", oEndpoint.Contract.Name)
|
||||
Next
|
||||
|
||||
ServiceHost.Open()
|
||||
Logger.Info("WCF Endpoint started!")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user