public void Run() { var app = new MainApplication(); var routeConfig = new AppRouteConfig(); app.Start(routeConfig); var webServer = new Server.WebServer(1337, routeConfig); webServer.Run(); }
public void Run() { var app = new MainApplication(); var routeConfig = new AppRouteConfig(); app.Start(routeConfig); _webServer = new Server.WebServer(port: 8230, appRouteConfig: routeConfig); _webServer.Run(); }