In a previous video, we managed to add caching to our repository pattern. But... we had to essentially duplicate all of the code. Can we do better than that?
Yes! Let's see the decorator pattern in action.
----
Timestamps:
0:00 - Intro
1:10 - Recap On Code
2:28 - The Decorator Pattern Intro
4:44 - The Decorator Class
7:11 - Refactoring Course
7:38 - Continuing
9:10 - Design Considerations
10:18 - Dependency Injection
14:35 - Try It Out!
15:40 - Summary
----
🔑 Membership & Subscriptions:
📨 Weekly Newsletter: https://weekly.devleader.ca
🏘️ Private Discord Community: https://sidestack.io/devleader
🧠 Courses:
All Courses: https://www.devleader.ca/courses
Get Promoted As A Software Engineer: https://dometrain.com/course/career-g...
Nailing The Behavioral Interview: https://dometrain.com/course/career-n...
Getting Started with C#: https://dometrain.com/course/getting-...
Deep dive C#: https://dometrain.com/course/deep-div...
C# Zero to Hero BUNDLE: https://dometrain.com/bundle/from-zer...
Reflection in .NET: https://dometrain.com/course/from-zer...
Refactoring For C# Devs: https://dometrain.com/course/from-zer...
[FREE] Intro to Software Development: • [FREE MINI COURSE] - Introduction To Softw...
🗣️ Social Media & Links:
All My Links: https://linktr.ee/devleader
Vlogs: @DevLeaderBTS @CodeCommute
Blog: https://www.devleader.ca/
TikTok: / devleader
LinkedIn: / nickcosentino
Threads: https://threads.net/@dev.leader
Twitter: / devleaderca
Facebook: / devleaderca
Instagram: / dev.leader
GitHub: https://github.com/ncosentino/
Twitch: / devleaderca
YouTube: / @devleader
❤️ Affiliations & Products/Services That I Love:
- @BrandGhostAI for all of my content creation: https://brandghost.ai
AI shorts helper Opus Clip: https://opus.pro/?via=2f9e97
VPS hosting from RackNerd: https://my.racknerd.com/aff.php?aff=9013
VPS hosting from Contabo: https://www.jdoqocy.com/click-1010286...
Newsletter platform ConvertKit: https://convertkit.com/?lmref=c5X7KQ
Newsletter referral system SparkLoop: https://dash.sparkloop.app/signup?aff...
----
#softwareengineering #softwaredeveloper #softwareengineer
In questa pagina del sito puoi guardare il video online EF Core: Repository Pattern and IMemoryCache Tutorial della durata di online in buona qualità , che l'utente ha caricato Dev Leader 10 marzo 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 933 volte e gli è piaciuto 32 spettatori. Buona visione!