コード例 #1
0
        public void Run()
        {
            var mainApplication = new GameStoreApplication();

            mainApplication.InitializeDatabase();
            var appRouteConfig = new AppRouteConfig();

            mainApplication.Configure(appRouteConfig);
            var webServer = new WebServer(1337, appRouteConfig);

            webServer.Run();
        }
コード例 #2
0
ファイル: Launcher.cs プロジェクト: BiserB/Educational
        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();
        }