Example #1
0
        static void Main(string[] args)
        {
            var server = new SimpleWebServer("http://localhost:8080/", "files/");

            server.Start();

            Console.WriteLine("Press key to exit ...");
            Console.Read();
        }
Example #2
0
        static void Main(string[] args)
        {
            Trace.Listeners.Add(new ConsoleTraceListener());

            var server = new SimpleWebServer("http://localhost:10000/", "files/");

            server.Start();

            Console.WriteLine("Press key to exit ...");
            Console.ReadKey();
        }