protected void Application_Start() { AreaRegistration.RegisterAllAreas(); GlobalConfiguration.Configure(WebApiConfig.Register); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); IntegrationSettings.ReadSettings(); LogManager.GetCurrentClassLogger().Log(LogLevel.Info, "Started callback receiver"); }
public static void Main() { try { IntegrationSettings.ReadSettings(); #if DEBUG RunInCommandLineMode(); #else ServiceBase.Run(new BulksignService()); #endif } catch (Exception ex) { log.Error(ex); } }