Skip to content

Repository files navigation

DistributedCacheFile

  • Register :
public void ConfigureServices(IServiceCollection services)
{
       //Add Distributed Cache
       services.AddDistributedCacheFile(Configuration);
}

  • Use :
public class TestController : Controller
{
     private readonly IDistributedCache _cache;
     public TestController(IDistributedCache cache)
     {
         _cache = cache
     }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages