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

            Console.ReadLine();
        }
Beispiel #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);
            }
        }