React to changes in caching

This commit is contained in:
jacalvar 2016-03-07 19:05:49 -08:00
parent 5a7267a83d
commit 0489812aab
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ namespace BasicWebSite
services.AddSingleton<IActionDescriptorProvider, ActionDescriptorCreationCounter>();
services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
services.AddScoped<RequestIdService>();
services.AddCaching();
services.AddMemoryCache();
services.AddDistributedMemoryCache();
services.AddSession();
}