Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Latest commit

 

History

History
50 lines (39 loc) · 1.5 KB

README.md

File metadata and controls

50 lines (39 loc) · 1.5 KB

aspnet-distributed-caching

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.

Read the Article

To understand how to use this repo, make sure you read this article:
Distributed caching in ASP.NET Core using Redis, MongoDB and Docker

Source Code

The source code is available at github.com/hd9/aspnet-microservices.

Dependencies

  • Visual Studio 2019
  • Docker Desktop (Windows and Mac) or
  • Docker compose

Running the project

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

License

This project is licensed under the MIT License.

Final Thoughts

To learn more about this app, ASP.NET Core, Docker, Azure, Kubernetes, Linux and microservices, check my blog at: blog.hildenco.com