playing with dotnet core 23 - dependency injection part 4 using interfaces, inheritance and Construc
----------------- Useful Links -----------------------------------
What is dependency injection?
https://stackoverflow.com/questions/130794/what-is-dependency-injection
dependency injection demystified
https://www.jamesshore.com/v2/blog/2006/dependency-injection-demystified
how to retrieve a service in razor pages via dependency injection
https://stackoverflow.com/questions/47463206/how-to-retrieve-a-service-in-razor-pages-with-dependency-injection
dependency injection is asp net core
https://docs.microsoft.com/en-us/aspnet/core/mvc/views/dependency-injection?view=aspnetcore-6.0
interfaces
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/types/interfaces
inheritance
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/object-oriented/inheritance
constructors
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/constructors
----------------- Video Sections -------------------------------
Chapters:
0:00 Constructors for injection
6:11 interfaces for dependency injection
12:33 inheritance for associating an interface with its implementation classes
15:00 ensuring that the dependent class uses the interfaces for dependency injection
19:41 doing up interfaces for our patty and buns class
22:30 changing the dependent class to use interfaces
23:32 swapping dependencies is easy once you set up dependency injection
24:50 loose coupling concept
26:16 recap
27:00 demonstration: changing a dependency without changing the dependent class
30:26 conclusion
--------------------[Playlists and Relevant Github Repositories]---------------------------------------------
Fluid Mechanics and Git Repos:
• Fluid Mechanics
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube
Petroleum Downstream Crash Course Playlist:
• Petroleum Refining
OpenFOAM for Windows 10 Beginner Playlist and some Git Repos
• OpenFoam for Windows Newbie Guide
https://github.com/theodoreOnzGit/laminar_BL_OpenFOAM
OpenFOAM Intermediate Playlist and some Git Repos
• OpenFOAM Intermediate Videos
https://github.com/theodoreOnzGit/thin_pipeflow_snappyHexMesh
OpenFOAM Heat Transfer Playlist and GitHub Repo
• OpenFOAM Heat Transfer
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube
Radiation Heat Transfer Learning Journal and Git Repos:
• Radiation Heat Transfer Learning Jour...
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube
Convection Boundary Layer and git Repos:
• Convection Heat Transfer
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube
Turbulence Modelling Playlist
• Turbulence Modelling 1 - Reynold's Av...
https://github.com/theodoreOnzGit/turbulenceModelling
LabView Frequency Analysis and Fun (playlist and git repo)
• LabView Frequency Analysis and Fun
https://github.com/theodoreOnzGit/Ted_labview_YouTube
Control Systems and Frequency Response
• Laplace Transforms 1 - basic intuitio...
https://github.com/theodoreOnzGit/matlabFrequencyResponse.git
OpenFOAM C++
https://github.com/theodoreOnzGit/C-_YouTube_OpenFoam
• Introductory C++ for OpenFoam Users
OpenFOAM Bash
https://github.com/theodoreOnzGit/Bash_OpenFOAM_YouTube
• OpenFOAM Bash
Basic Samba
• basicSamba
https://github.com/theodoreOnzGit/sambaVideos
Manjaro Tips and Tricks
• Manjaro Tips and Tricks
lammps and Discrete Element Modelling (DEM)
• lammps and Discrete Element Modelling
playing with dotnet core
• playing with dotnet core
dotnet core github repo
https://github.com/theodoreOnzGit/dotnetCoreYoutube