Exemplo n.º 1
0
        private static void Main(string[] args)
        {
            var containerBootstrapper = new ContainerBootstrapper();
            var ss = new ManagerStarter(
                containerBootstrapper
                , ConfigurationManager.AppSettings["ManagerEndpoint_BaseAddressServiceUrl"]
                );

            ss.StartServices();
            Console.ReadKey();
        }
        protected override void OnStart(string[] args)
        {
            _managerStarter.StartServices();

            AddLog("Service " + ServiceName + " is started");
        }