diff --git a/Program.cs b/Program.cs index cd5e3cea8..2faef5e0b 100644 --- a/Program.cs +++ b/Program.cs @@ -13,11 +13,7 @@ { builder.Services.AddDbContext(options => options.UseSqlServer(builder.Configuration.GetConnectionString("AZURE_SQL_CONNECTIONSTRING"))); - builder.Services.AddStackExchangeRedisCache(options => - { - options.Configuration = builder.Configuration["AZURE_REDIS_CONNECTIONSTRING"]; - options.InstanceName = "SampleInstance"; - }); + builder.Services.AddDistributedMemoryCache(); }