Пример #1
0
        private static void Main(string[] args)
        {
            var containerBootstrapper = new ContainerBootstrapper();
            var ss = new DataAccessStarter(
                containerBootstrapper
                , ConfigurationManager.AppSettings["DataAccessHost_BaseUri"]
                , ConfigurationManager.AppSettings["DataAccessHost_BaseStoreUri"]
                );

            ss.StartServices();
            Console.ReadKey();
        }
Пример #2
0
        protected override void OnStart(string[] args)
        {
            _dataAccessStarter.StartServices();

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