protected void Application_Start() { MobilePaywall.Data.Sql.Database dummy = null; Senti.Data.DataLayerRuntime r = new Senti.Data.DataLayerRuntime(); AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); }
// this folder must have "_config.txt" with prefiled informations static void Main(string[] args) { MobilePaywall.Data.Sql.Database db = null; Senti.Data.DataLayerRuntime runtime = new Senti.Data.DataLayerRuntime(); VideoUploaderManager manager = new VideoUploaderManager(@"C:\Users\ako\Desktop\upload lorenc"); manager.Start(); Console.ReadKey(); }
static void Main(string[] args) { MobilePaywall.Data.Sql.Database db = null; Senti.Data.DataLayerRuntime runtime = new Senti.Data.DataLayerRuntime(); //log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo("~/log4net.config")); new SignalRConnector(); Log.Debug("Task.Deamon started"); DeamonManager.Start(); Console.ReadKey(); }
protected void Application_Start() { MobilePaywall.Data.Sql.Database dummy = null; Senti.Data.DataLayerRuntime r = new Senti.Data.DataLayerRuntime(); AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); OLApplication.Country = Data.Country.CreateManager().Load(); OLApplication.MobileOperator = Data.MobileOperator.CreateManager().Load(); }
protected void Application_Start() { MobilePaywall.Data.Sql.Database dummy = null; Senti.Data.DataLayerRuntime r = new Senti.Data.DataLayerRuntime(); AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo(Server.MapPath("~/log4net.config"))); PaywallApplication.TaskManager = new TaskManager(); new Thread(() => { PaywallApplication.TaskManager.Run(); }).Start(); MobilePaywall.AndroidHttpService.Code.Session.GetSuitableServices.GetWapService(MobilePaywall.Data.AndroidClientSession.CreateManager().Load(33)); Log.Debug("Application started"); }