Пример #1
0
        static void Main(string[] args)
        {
            var serviceFactory = new ServiceProxy.ServiceFactory(new SimpleDependencyResolver());

            using (var server = new RedisServer(new RedisConnection("localhost"), "ThisIsTheServiceQueue", serviceFactory))
            {
                server.Listen();

                Console.WriteLine("Press ENTER to close");
                Console.ReadLine();
            }
        }
Пример #2
0
        static void Main(string[] args)
        {
            var serviceFactory = new ServiceProxy.ServiceFactory(new SimpleDependencyResolver());

            using (var server = new RedisServer(new RedisConnection("localhost"), "ThisIsTheServiceQueue", serviceFactory))
            {
                server.Listen();

                Console.WriteLine("Press ENTER to close");
                Console.ReadLine();
            }
        }