public void Run()
        {
            GameStoreApp gameStoreApp = new GameStoreApp();
            gameStoreApp.InitializeDatabase();

            AppRouteConfig appRouteConfig = new AppRouteConfig();
            gameStoreApp.Configure(appRouteConfig);

            WebServer webServer = new WebServer(1337, appRouteConfig);
            webServer.Run();
        }
예제 #2
0
        static void Run(string[] args)
        {
            var application = new GameStoreApp();

            var appRouteConfig = new AppRouteConfig();

            application.Configure(appRouteConfig);

            var server = new WebServer(8000, appRouteConfig);

            server.Run();
        }
예제 #3
0
        public void Run()
        {
            var mainApplication = new GameStoreApp();

            mainApplication.InitializeDatabase();

            var appRouteConfig = new AppRouteConfig();

            mainApplication.Configure(appRouteConfig);
            this.webServer = new WebServer(1337, appRouteConfig);
            this.webServer.Run();
        }
예제 #4
0
        public void Run()
        {
            var gameStoreApplication = new GameStoreApp();

            gameStoreApplication.InitializeDatabase();

            var appRouteConfig = new AppRouteConfig();

            gameStoreApplication.Configure(appRouteConfig);

            var webServer = new WebServer(Port, appRouteConfig);

            webServer.Run();
        }
        public void Run()
        {
            var application = new GameStoreApp();

            application.InitializeDatabase();

            var appRouteConfig = new AppRouteConfig();

            application.Configure(appRouteConfig);

            var CustomWebServer = new CustomWebServer(port, appRouteConfig);

            CustomWebServer.Run();
        }
예제 #6
0
        public void Run()
        {
            //ByTheCakeApp mainApplication = new ByTheCakeApp();
            GameStoreApp mainApplication = new GameStoreApp();

            mainApplication.InitializeDatabase();

            AppRouteConfig appRouteConfig = new AppRouteConfig();

            mainApplication.Configure(appRouteConfig);

            WebServer webServer = new WebServer(Port, appRouteConfig);

            webServer.Run();
        }
        static void Run(string[] args)
        {
            // Initialize application
            var application = new GameStoreApp();

            application.InitializeDatabase();

            var appRouteConfig = new AppRouteConfig();

            // Configure App Route Configuration
            application.Configure(appRouteConfig);

            var server = new WebServer(8000, appRouteConfig);

            server.Run();
        }
예제 #8
0
        private static void Run(string[] args)
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

            //Initialize application
            var application = new GameStoreApp();

            var appRouteConfig = new AppRouteConfig();

            //Configure App Route Configuration
            application.Configure(appRouteConfig);

            var server = new WebServer(8000, appRouteConfig);

            server.Run();
        }