Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var listeningOn = "http://localhost:1212/";
            var appHost = new SelfAppHost(new SelfAppHostConfig());
            appHost.Init();
            appHost.Start(listeningOn);

            Console.WriteLine("SelfAppHost Created at {0}, listening on {1}", DateTime.Now, listeningOn);

            Console.ReadKey();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            var listeningOn = "http://localhost:1212/";
            var appHost     = new SelfAppHost(new SelfAppHostConfig());

            appHost.Init();
            appHost.Start(listeningOn);

            Console.WriteLine("SelfAppHost Created at {0}, listening on {1}", DateTime.Now, listeningOn);


            Console.ReadKey();
        }