public void Run() { var mainApplication = new GameStoreApplication(); mainApplication.InitializeDatabase(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); }
private static void Run(string[] args) { var application = new GameStoreApplication(); var appRouteConfig = new AppRouteConfig(); application.Configure(appRouteConfig); var server = new WebServer(55000, appRouteConfig); server.Run(); }