public OrderService(AzureBootCampTicketsContext dbContext, IAzureBootCampTicketsCloudContext cloudContext) { _ctx = dbContext; _cloudContext = cloudContext; if (_circuitBreaker == null) { _circuitBreaker = new CircuitBreaker(); } }
public override bool OnStart() { ServicePointManager.DefaultConnectionLimit = 12; bool result = base.OnStart(); Trace.TraceInformation("TicketerProcessor has been started"); _ticketCtx = new AzureBootCampTicketsContext(); _cache = new CacheService(); _azureCtx = new AzureBootCampTicketsCloudContext(_cache); return(result); }
public override bool OnStart() { // Set the maximum number of concurrent connections ServicePointManager.DefaultConnectionLimit = 12; // For information on handling configuration changes // see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357. bool result = base.OnStart(); Trace.TraceInformation("TicketerProcessor has been started"); _ticketCtx = new AzureBootCampTicketsContext(); _cache = new CacheService(); _azureCtx = new AzureBootCampTicketsCloudContext(_cache); return(result); }
public EventManagementService(AzureBootCampTicketsContext dbContext, IAzureBootCampTicketsCloudContext cloudContext) { _ctx = dbContext; _cloudContext = cloudContext; }
public OrderService(AzureBootCampTicketsContext dbContext, IAzureBootCampTicketsCloudContext cloudContext) { _ctx = dbContext; _cloudContext = cloudContext; }
public OrderService(AzureBootCampTicketsContext dbContext) { _ctx = dbContext; }
public EventsRepository(AzureBootCampTicketsContext dbContext, IIdentiService identiService) { _dbContext = dbContext; _identiService = identiService; }
public EventManagementService(AzureBootCampTicketsContext dbContext) { _ctx = dbContext; }