C# Dependency Injection Made SUPER SIMPLE (feat. Simple Injector)

C# Dependency Injection Made SUPER SIMPLE (feat. Simple Injector)

Code It Up by AMBITIONED

4 года назад

11,562 Просмотров

💻 DOWNLOAD THE SOURCE CODE 👉 https://bit.ly/my-source-ciu 👈
🔔 SUBSCRIBE FOR MORE C# LESSONS 👉 http://bit.ly/mytestedaspnet 👈

In this video, you will learn what dependency inversion is and how to apply it in your C# code. You will understand the advantages of using this technique by seeing multiple examples. First, I show the principle in the most simple way possible (by using the Poor Man's Dependency Injection) and then I introduce a DI container (Simple Injector), which allows us to have a cleaner and better code when dealing with class dependencies.

► My Tested ASP.NET Source Code: https://github.com/ivaylokenov
► My Tested ASP.NET Website: https://mytestedasp.net

★★ BECOME A BACKER OR SPONSOR ★★
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Patreon: https://www.patreon.com/ivaylokenov
► OpenCollective: https://opencollective.com/mytestedaspnet
► PayPal: http://paypal.me/ivaylokenov
► Buy Me A Coffee: http://buymeacoff.ee/ivaylokenov

★★ Follow My Tested ASP.NET ★★
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Instagram: https://www.instagram.com/mytestedaspnet
► Twitter: https://twitter.com/MyTestedASPNET
► Facebook: https://www.facebook.com/mytestedaspnet
► LinkedIn: https://www.linkedin.com/company/mytestedaspnet

★★ Follow Me ★★
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Instagram: https://www.instagram.com/ivaylokenov
► Facebook: https://www.facebook.com/ivaylo.kenov
► LinkedIn: https://www.linkedin.com/in/kenov

★★ Links From The Video ★★
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Simple Injector:
https://simpleinjector.org/

Тэги:

#c#_clean_architecture #c# #sharp #clean #architecture #c#_architecture_best_practices #best #practices #automation #refactoring #visual_studio #solid #dependency #dependency_inversion #dependency_injection #testable #code #testing #test #unit_tests #unit #integration #super #simple #injection #inversion #single #responsibility #single_responsibility #open #clode #liskov #substitution #interface #segregation
Ссылки и html тэги не поддерживаются


Комментарии: