Redis, MySql, Entity Framework Core in .NET 8 with Docker Compose (Step by step)

Опубликовано: 06 Май 2026
на канале: TechWhistle
502
7

🚀 Redis, MySQL, and Entity Framework Core using Docker Compose Tutorial

Source code free on Github: https://github.com/techwhistle/RedisDemo

Join us in this tutorial where we unravel the seamless orchestration of Redis, MySQL, and Entity Framework Core using Docker Compose. 🌐💻

00:00 - Create project
01:00 - Create Entity, DBContext
03:23 - Install packages EntityFramework
06:19 - Add Dockerfile and Docker compose file
08:47 - Write CRUD in controller
15:55 - Install packages Redis and config Redis in docker compose
17:46 - Write CacheService and add DI
21:29 - Use CacheService for CRUD in controller
26:09 - Test, Demo, Debug API and see cache data in Redis Insight

🎓 Stay Connected:
Have questions or need assistance? Drop a comment below, and we'll be happy to help! Don't forget to like, share, and subscribe for more exciting tutorials.

Happy coding! 🚀💻

#redis #mysql #dockercompose #dotnet #dotnet8 #webapi #entityframeworkcore #Techwhistle