Explore advanced dependency injection techniques in .NET Core with this NDC London 2021 conference talk. Delve into complex topics such as avoiding multiple registrations, managing service lifetimes, and understanding service providers. Learn about automated service registration, resolving generics and interfaces, integrating with other DI containers, and implementing key named registrations. Discover strategies for improving startup performance, ensuring thread safety, and preventing memory leaks. Gain insights on validating and unit testing service registrations. Designed for developers with basic DI knowledge, this talk covers lifetimes, scopes, design patterns, runtime errors, value types, record types, custom delegates, and antipatterns. Enhance your .NET Core development skills and avoid potential bugs in your applications.
Overview
Syllabus
Introduction
Lifetimes
Scope
registration
hints and tricks
design patterns
runtime error
value types
record types
custom delegates
delegate example
antipattern
example
delegate
consumer
decorator
registration services
performance
wrap up
Taught by
NDC Conferences