Ejemplo n.º 1
0
        public void Start()
        {
            RavenDbManager.Start();
            var ep = new IPEndPoint(IPAddress.Any, 20589);

            KayakGate.Start(new SchedulerDelegate(), ep, AppBuilder.BuildConfiguration(_Configuration), _context);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
        // 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);
        }
Ejemplo n.º 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();
        }