Exemplo n.º 1
0
        public void Run()
        {
            IApplication app = new MainApplication();

            app.InitializeDb();

            IAppRouteConfig appRouteConfig = new AppRouteConfig();

            app.Start(appRouteConfig);

            this.webServer = new WebServer(1333, appRouteConfig);
            this.webServer.Run();
        }