/Extensions.Caching.PostgreSQL

Distributed cache implementation of IDistributedCache using PostgreSQL

Primary LanguageC#

Extensions.Caching.PostgreSQL

Distributed cache implementation of IDistributedCache using PostgreSQL

Getting Started

  1. Install the package into your project
dotnet add package Extensions.Caching.PostgreSql
  1. Add the following line to the Startup Configure method.
services.AddDistributedPostgreSqlCache(options => 
{
	options.ConnectionString = configuration["ConnectionString"];
	options.SchemaName = configuration["SchemaName"];
	options.TableName = configuration["TableName"];
})

Available on NuGet at https://www.nuget.org/packages/Extensions.Caching.PostgreSql/