private void StartUp() { Platform.Log(LogLevel.Info, "Starting application root {0}", this.GetType().FullName); var hostUri = new Uri(WebServicesSettings.Default.BaseUrl); _serviceMount = new ServiceMount(hostUri, WebServicesSettings.Default.ConfigurationClass) { EnablePerformanceLogging = WebServicesSettings.Default.EnablePerformanceLogging, MaxReceivedMessageSize = WebServicesSettings.Default.MaxReceivedMessageSize, SendExceptionDetailToClient = WebServicesSettings.Default.SendExceptionDetailToClient, CertificateSearchDirective = GetCertificateSearchDirective(WebServicesSettings.Default, hostUri) }; _serviceMount.AddServices(new CoreServiceExtensionPoint()); _serviceMount.AddServices(new ApplicationServiceExtensionPoint()); Platform.Log(LogLevel.Info, "Starting WCF services on {0}...", WebServicesSettings.Default.BaseUrl); _serviceMount.OpenServices(); Platform.Log(LogLevel.Info, "WCF Services started on {0}", WebServicesSettings.Default.BaseUrl); // kick NHibernate, rather than waiting for it to load on demand PersistentStoreRegistry.GetDefaultStore(); _isStarted = true; }
private void MountWebServices() { _serviceMount = new ServiceMount(new Uri(WebServicesSettings.Default.BaseUri), typeof(ServerWsHttpConfiguration).AssemblyQualifiedName) { MaxReceivedMessageSize = EnterpriseImageServerServiceSettings.Default.MaxReceivedMessageSize, SendTimeoutSeconds = EnterpriseImageServerServiceSettings.Default.SendTimeoutSeconds }; _serviceMount.AddServices(new ApplicationServiceExtensionPoint()); _serviceMount.OpenServices(); }
private void MountWebServices() { _serviceMount = new ServiceMount(new Uri(WebServicesSettings.Default.BaseUri), typeof(ServerWsHttpConfiguration).AssemblyQualifiedName); _serviceMount.AddServices(new ApplicationServiceExtensionPoint()); _serviceMount.OpenServices(); }