Skip to content

alptekinakat/CoreFileCache

Repository files navigation

CoreFileCache

Session Distuributed File Cache Library for Net Core 3.1 Web Project

You can convert core5 or core6 if you want

Simple use in startup.cs

public void ConfigureServices(IServiceCollection services)
{
 ...
  services.AddCoreFileCache("cache", 10);
  services.AddSession(...);
 ...
}

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
 ...
  app.UseSession();
 ...
}

Application path/cache/cache/{SESSIONID}.cache --> Session time , expired, sliding...

Application path/cache/meta/{SESSIONID}.meta --> Session data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages