Skip to content

angelitocsg/coding-live-007

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Memory Cache and Distributed Cache | Coding Live #007

Getting Started

These instructions is a part of a live coding video.

Prerequisites

Projects

Create a base folder CodingLive007.

Create the .gitignore file based on file https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

Example Cached API

dotnet new webapi --name CachedAPI
dotnet add package Bogus
dotnet add package Microsoft.Extensions.Caching.Redis
docker volume create redis-data
docker run --name live-redis -v redis-data:/data -p 6379:6379 -d redis redis-server --appendonly yes

Redis Commander

npm install -g redis-commander
redis-commander --redis-host docker.local

References

https://redis.io/

https://www.npmjs.com/package/redis-commander

https://aws.amazon.com/pt/elasticache/what-is-redis/

https://stackexchange.github.io/StackExchange.Redis/