public void Run() { IApplication app = new MainApplication(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Configure(routeConfig); this.webserver = new WebServer(1337, routeConfig); this.webserver.Run(); }
public void Run() { var mainApplication = new MainApplication(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); }
public void Run() { var mainApplication = new MainApplication(); var routeConfig = new AppRouteConfig(); mainApplication.Configure(routeConfig); var webServer = new WebServer(8230, routeConfig); webServer.Run(); }
static void Run(string[] args) { IApplication app = new MainApplication(); var appRouteConfig = new AppRouteConfig(); app.Configure(appRouteConfig); var server = new WebServer(8000, appRouteConfig); server.Run(); }
public void Run() { MainApplication mainApplication = new MainApplication(); AppRouteConfig appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); WebServer webServer = new WebServer(Port, appRouteConfig); webServer.Run(); }
public void Run() { var app = new MainApplication(); var routeConfig = new AppRouteConfig(); app.Configure(routeConfig); var webServer = new WebServer(1337, routeConfig); webServer.Run(); }
public void Run() { var mainApplication = new MainApplication(); //var mainApplication = new ByTheCakeApp(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServer = new WebServer(Port, appRouteConfig); webServer.Run(); }
public static void Main() { int Port = 1337; IAppRouteConfig routeConfig = new AppRouteConfig(); IApplication app = new MainApplication(); app.Configure(routeConfig); WebServer webServer = new WebServer(Port, routeConfig); webServer.Run(); }
public static void Main() { int Port = 8230; IAppRouteConfig routeConfig = new AppRouteConfig(); var app = new MainApplication(); app.Configure(routeConfig); BasicWebServer.Server.WebServer webServer = new BasicWebServer.Server.WebServer(Port, routeConfig); webServer.Run(); }
public void Run() { var mainApplication = new MainApplication(); mainApplication.InitializeDatabase(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServer = new WebServer(Port, appRouteConfig); webServer.Run(); }
private static void Main() { int Port = 8888; IAppRouteConfig routeConfig = new AppRouteConfig(); var app = new MainApplication(); //var app = new ByTheCakeApplication(); app.Configure(routeConfig); WebServer webServer = new WebServer(Port, routeConfig); webServer.Run(); Console.ReadLine(); }