static void Main() { NinjectConfiguration.Config(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new KioskSetting()); }
public static void Main(string[] args) { AutoMapperConfiguration.Config(); NinjectConfiguration.Config(); #if DEBUG Process process = ResolverFactory.GetService <Process>(); process.Start(); Console.ReadKey(); #else ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new SelfHostService() }; ServiceBase.Run(ServicesToRun); #endif }
public static void Main(string[] args) { AutoMapperConfiguration.Config(); NinjectConfiguration.Config(); #if DEBUG using (Microsoft.Owin.Hosting.WebApp.Start <SignalRConfiguration>(SettingsConfigurationSignalR.DOMAIN_SERVER)) { Console.WriteLine("OwinServer Started...."); Console.ReadKey(); } #else ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new SelfHostService() }; ServiceBase.Run(ServicesToRun); #endif }