Upgrade redis and sql packages and add missing settings
This commit is contained in:
		| @@ -21,7 +21,11 @@ namespace Core.Blueprint.DAL.API.Extensions | ||||
|             services.AddScoped<CollectionRepository<SampleCollection>>(); | ||||
|  | ||||
|             //SQL | ||||
|             services.AddDbContext<SqlServerContext>(options => options.UseSqlServer(configuration.GetConnectionString("SQLServer"))); | ||||
|             services.AddDbContext<SqlServerContext>(options => | ||||
|                 options.UseSqlServer(configuration.GetConnectionString("SqlServer"), | ||||
|                     sqlOptions => sqlOptions.EnableRetryOnFailure()) | ||||
|             ); | ||||
|  | ||||
|             services.AddScoped<ISqlSampleService, SqlSampleService>(); | ||||
|  | ||||
|             //Storage | ||||
|   | ||||
		Reference in New Issue
	
	Block a user