Пример #1
0
 protected void Application_Start()
 {
     GlobalConfiguration.Configure(WebApiConfig.Register);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     _Listener = new UpdateChainListener();
     _Listener.Listen(GlobalConfiguration.Configuration);
 }
Пример #2
0
        protected void Application_Start()
        {
            // load the stratis networks
            var stratis     = Network.StratisMain;
            var stratisTest = Network.StratisTest;

            GlobalConfiguration.Configure(WebApiConfig.Register);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            _Listener = new UpdateChainListener();
            _Listener.Listen(GlobalConfiguration.Configuration);
        }