示例#1
0
        static void Main(string[] args)
        {
            HttpServerRole.SetupBasicLogging();
            HttpServerRole.Initialize(args);
            HttpServerRole.Start();

            Console.ReadLine();
        }
示例#2
0
        static void Main(string[] args)
        {
            HttpServerRole.SetupBasicLogging();
            HttpServerRole.Initialize(args);
            HttpServerRole.Start();

            // Keep running in infinite loop.
            while (true)
            {
                Console.WriteLine("Running");
                Thread.Sleep(60000);
            }
        }