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



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

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

Support me on Patreon to access the source code:
https://www.patreon.com/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/decorator-pattern-in-asp-net-core

Subscribe for more:
https://www.youtube.com/c/MilanJovanovicTech?sub_confirmation=1

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

Comments are closed.