AddTransient vs AddScoped vs AddSingleton
Dependency Injections (DI) are one of the principal concepts of ASP.NET core. It is a software design pattern that makes the code easily maintainable by reducing tight coupling and in turn allowing loose coupling between the various software components. Injecting these dependencies at run time instead of design time helps to reduce hard coded dependencies …