Course Introduction
  • Introduction
  • What is Dependency Inversion Principle?
  • Let's Get to Know the Microservice Based Project We Will Use in Education
Registering First Service
  • Dependency Injection - Why Should I Use It?
  • Coding Interface
  • Constructor Injection
  • Register First Service
  • What Were The Benefits of Dependency Injection Container?
Microsoft Dependency Injection Container & Service Lifetimes
  • Introduce - Microsoft Dependency Injection Container
  • How Do I Access the Configuration File from the Controller?
  • Service Lifetimes
  • Transient Services
  • Singleton Services
  • Scoped Services
  • Managing Service Lifetimes of Dependencies (Avoiding Captive Dependencies)
Complex Service Register Operations
  • Add vs TryAdd & Registering An Interface Multiple Times
  • Replacing & Removing Operations in Registered Services, Why Do We Use It?
  • Use of Implementation Factories
  • Registering Open Generics Services
  • Clean Code With Extension Methods
What is Injection? What are the Injection Types? & Resolving Dependencies
  • Sevice Resolution Mechanisms
  • Constructor Injection
  • Action Injection
  • Injecting Services into Middleware
  • Injecting Services into Razor View
  • Creating & Using Scopes
Final
  • Thanks!