public void Run() { IApplication app = new ByTheCakeApplication(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Configure(routeConfig); this.webserver = new WebServer(1337, routeConfig); this.webserver.Run(); }
public void Run() { var mainApplication = new ByTheCakeApplication(); var routeConfig = new AppRouteConfig(); mainApplication.Configure(routeConfig); var webServer = new WebServer(8230, routeConfig); webServer.Run(); }
static void Run(string[] args) { var mainApplication = new ByTheCakeApplication(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var server = new WebServer(8000, appRouteConfig); server.Run(); }
public void Run() { var app = new ByTheCakeApplication(); app.InitializeDatabase(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Configure(routeConfig); this.webserver = new WebServer(1337, routeConfig); this.webserver.Run(); }
public void Run() { var appRouteConfig = new AppRouteConfig(); var application = new ByTheCakeApplication(); application.InitializeDatabase(); application.Configure(appRouteConfig); this.webServer = new WebServer(8230, appRouteConfig); this.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(); }