예제 #1
0
        public void Start()
        {
            RavenDbManager.Start();
            var ep = new IPEndPoint(IPAddress.Any, 20589);

            KayakGate.Start(new SchedulerDelegate(), ep, AppBuilder.BuildConfiguration(_Configuration), _context);
        }
예제 #2
0
        static void Main(string[] args)
        {
            var ep = new IPEndPoint(IPAddress.Any, 8889);

            Console.WriteLine("Listening on " + ep);
            Console.WriteLine("Press CTRL+C to quit :-)");
            Process.Start("http://localhost:8889");
            KayakGate.Start(new SchedulerDelegate(), ep, Startup.Configuration);
        }
예제 #3
0
파일: Program.cs 프로젝트: thevu/SignalR
        // plain-ol' entry point.
        public static void Main(string[] args)
        {
            TaskScheduler.UnobservedTaskException += new EventHandler <UnobservedTaskExceptionEventArgs>(TaskScheduler_UnobservedTaskException);
            var ep = new IPEndPoint(IPAddress.Any, 5500);

            Console.WriteLine("Listening on " + ep);

            KayakGate.Start(new SchedulerDelegate(), ep, Startup.Configuration);
        }
예제 #4
0
        static void Main(string[] args)
        {
            var endPoint = new IPEndPoint(IPAddress.Any, 8080);

            Console.WriteLine("Running... {0}.", endPoint);

            KayakGate.Start(new SchedulerDelegate(), endPoint, Startup.Configuration);

            Console.ReadLine();
        }