public void Configure(IServiceHost <StorageResourceAccess> host) { host.AddNamedPipeEndpoint(typeof(IStorageResourceAccess), "absence:storage", configureBinding: binding => binding.UseDefaults()); host.AddNetTcpEndpoint(typeof(IStorageResourceAccess), 10001, hostname: _options.AnnouncedHostName, configureBinding: binding => binding.UseDefaults()); host.AddMetadata(10101); }
public void Configure(IServiceHost <AbsenceManager> host) { host.AddNamedPipeEndpoint(typeof(IAbsenceManager), "absence:absence-manager", configureBinding: binding => binding.UseDefaults()); host.AddNetTcpEndpoint(typeof(IAbsenceManager), 10002, hostname: _options.AnnouncedHostName, configureBinding: binding => binding.UseDefaults()); host.AddMetadata(10102); }
public void Configure(IServiceHost <NotificationEngine> host) { host.AddNamedPipeEndpoint(typeof(INotificationEngine), "absence:notification", configureBinding: binding => binding.UseDefaults()); host.AddNetTcpEndpoint(typeof(INotificationEngine), 10003, hostname: _options.AnnouncedHostName, configureBinding: binding => binding.UseDefaults()); host.AddMetadata(10103); }