Sample repo to demo an ASP.NET Core 3.1 website distributed caching with Docker, MongoDB, Redis using Docker Compose.
This is a sample application to demo Microservices in .NET using ASP.NET Core, Docker, Docker Compose, MongoDB, MySQL and Redis, Vue.js.
To understand how to use this repo, make sure you read this article:
Distributed caching in ASP.NET Core using Redis, MongoDB and Docker
The source code is available at github.com/hd9/aspnet-microservices.
- Visual Studio 2019
- Docker Desktop (Windows and Mac) or
- Docker compose
First, open the solution with Visual Studio and run it as debug (F5).
Next, run the dependencies by running the below command
from the src
folder:
docker-compose up
To shutdown and remove all services, run
from the src
project:
docker-compose down -v
This project is licensed under the MIT License.
To learn more about this app, ASP.NET Core, Docker, Azure, Kubernetes, Linux and microservices, check my blog at: blog.hildenco.com