15 YouTube views, likes subscribers in 10 minutes. Free!
Get Free YouTube Subscribers, Views and Likes

Extremely FAST Caching Repository With Decorator Pattern in ASP.NET Core

Follow
Milan Jovanović

☄ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
Support me on Patreon to access the source code:   / milanjovanovic  

In this video, I will show you how to use the decorator pattern to create a caching repository implementation. The decorator pattern allows us to introduce new behavior to an existing class without modifying the class. We'll use the repository implementation and, with the decorator pattern, create a caching version to extend it.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Decorator Pattern In ASP.NET Core
https://www.milanjovanovic.tech/blog/...

Subscribe for more:
https://www.youtube.com/c/MilanJovano...

Chapters
0:00 What we're building
1:11 Current repository implementation
2:26 Caching repository with the Decorator pattern
6:37 Configuring Decorator with ASP.NET DI
7:36 Caching repository in action
11:25 Configuring Decorator with Scrutor

posted by laydlayout5kn