Dependency injection And Service Lifetime in ASP.NET CoreDependency injection is a technique of providing a dependent object from outside rather than the class creating using the new keyword. Pros:1. It increased modularity2. It improves testability3. Centralize place to provide the dependency4. Decouple...Sep 16, 2023·3 min read