Skip to content

ASP.NET Core's Distributed Cache implementation using Oracle Database

License

Notifications You must be signed in to change notification settings

gabrielkim13/aspnetcore-oracle-caching

Repository files navigation


ASP.NET Core - Oracle Database Distributed Cache

Table of Contents
  1. About
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contact

About

ASP.NET Core's Distributed Cache implementation using Oracle Database.

(back to top)

Built With

(back to top)

Getting Started

Prerequisites

Instalation

Restore the solution do download its projects' dependencies:

dotnet restore

And use Docker Compose to provision the containerized infrastructure:

docker compose -p aspnetcore-oracle-caching up -d --build

(back to top)

Usage

To add the Oracle distributed cache service to your application, add these lines to your startup code:

builder.Services.AddDistributedOracleCache(options =>
{
    options.ConnectionString = builder.Configuration.GetConnectionString("DistCache_ConnectionString");
    options.SchemaName = "CACHING";
    options.TableName = "Cache";
});

For more details, on using distributed cache in ASP.NET Core, refer to the docs: Distributed caching in ASP.NET Core.

(back to top)

Roadmap

Imitation is the sincerest form of flattery

As it so happens, this package is essentially a port of the SQL Server distributed cache implemented on ASP.NET Core: Microsoft.Extensions.Caching.SqlServer

In order to add it to the ASP.NET Core's main repository, we would need to have:

  • All tests passing
  • Properly documented code
  • Means of publishing this package to NuGet under its intended name, i.e. Microsoft.Extensions.Caching.Oracle

(back to top)

Contact

(back to top)

About

ASP.NET Core's Distributed Cache implementation using Oracle Database

Resources

License

Stars

Watchers

Forks

Packages

No packages published