These instructions is a part of a live coding video.
- .NET Core 3.1 SDK - https://dotnet.microsoft.com/download
- Redis server - https://redis.io
Create a base folder CodingLive007
.
Create the .gitignore
file based on file https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
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
npm install -g redis-commander
redis-commander --redis-host docker.local
https://www.npmjs.com/package/redis-commander