Talk is from the .NET Meetup Vienna from 2022-04-05: https://www.meetup.com/dotnet-austria...
This meetup is organized by DotNetDevs.at (https://dotnetdevs.at/).
With the releases of .NET Core and more recently .NET 5 & .NET 6, more developers have now got to grips with the basics of using the default Microsoft Dependency Injection container that comes with .NET Core. However, the story does not end there...
This talk will take you beyond the basics and cover more complex topics such as
Avoiding unintended multiple registrations
Conflicts between service lifetimes
Understanding the Root and Scoped service providers
Automated service registration packages
Registering and resolving open generics, classes with multiple interfaces; and interfaces with multiple class implementation
Integrating with other DI containers
Key named registrations are not supported ... but I need it!
Getting better startup performance from your registered services
Thread safety and avoiding memory leaks
Validating and unit testing your service registrations
The talk assumes that you have already had an initial dose of DI knowledge and are now ready for a top up to avoid some nasty bugs.
Steve Collins is an independent software developer/architect with over 25 years’ experience in the industry working with Microsoft technologies.
Steve blogs at https://SteveTalksCode.co.uk and tweets @SteveTalksCode
Steve has given talks about configuration at events and user groups around the UK and has also discussed configuration as a guest on the Dot Net Core Show podcast https://dotnetcore.show/episode-49-co... and the Documentation Not Included podcast • Documentation Not Included: Episode v1.3 -...