ASP.NET Core has a built-in IoC Container that supports constructor injection. There are 3 ways to inject dependencies in ASP.NET Core. Let me explain what is the difference between Transient, Scoped, and Singleton.
...
https://www.youtube.com/watch?v=gEov5twuX04