Answers for "how to create in memory cache from net core to get all keys"

C#
0

c# .net core memory cache

public void ConfigureServices(IServiceCollection services)
{
    services.AddMvc();
    services.AddMemoryCache();
}
Posted by: Guest on June-01-2020
-1

c# .net core memory cache

private IMemoryCache cache;
public MyCacheController(IMemoryCache cache)
{    
        this.cache = cache;
}
Posted by: Guest on June-01-2020

Code answers related to "how to create in memory cache from net core to get all keys"

C# Answers by Framework

Browse Popular Code Answers by Language