https://github.com/ediwang/edi.cacheaside.inmemory
In memory cache helpers for ASP.NET Core for implement cache aside pattern in small and non-distributed apps
https://github.com/ediwang/edi.cacheaside.inmemory
Last synced: about 1 year ago
JSON representation
In memory cache helpers for ASP.NET Core for implement cache aside pattern in small and non-distributed apps
- Host: GitHub
- URL: https://github.com/ediwang/edi.cacheaside.inmemory
- Owner: EdiWang
- License: mit
- Created: 2023-06-14T02:51:16.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-26T05:28:30.000Z (over 1 year ago)
- Last Synced: 2025-04-03T02:51:13.428Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 27.3 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Edi.CacheAside.InMemory
[](https://github.com/EdiWang/Edi.CacheAside.InMemory/actions/workflows/dotnet.yml)
In memory cache helpers for ASP.NET Core for implement cache aside pattern in small and non-distributed apps
> If you are looking for cloud native app design pattern, this is not for you. Please use a distributed cache product like Redis to implement Cache Aside pattern on your cloud app.
## Install from NuGet
```powershell
dotnet add package Edi.CacheAside.InMemory
```
```powershell
NuGet\Install-Package Edi.CacheAside.InMemory
```
```xml
```
## Usage
### ASP.NET Core
```csharp
services.AddInMemoryCacheAside();
```
TODO
```csharp
```