コード例 #1
0
        public AzureServerHost()
        {
            _siteRepository = new AzureSiteRepository();

            ThreadPool.SetMinThreads(100, 4);
            ServicePointManager.DefaultConnectionLimit = 300;

            Engine = new MappingEngine(_siteRepository);

            Engine.MaxCapacity = 5;

            _stopping = false;
            _stopped  = false;
        }
コード例 #2
0
 public AzureMappingClient()
 {
     _siteRepository = new AzureSiteRepository();
 }