Skip to content

Details

About the Talk:
With the release of .NET Core 3.x and the promise of a unified .NET 5 based on it, 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...

  • Avoiding unintended multiple registrations
  • Conflicts between service lifetimes
  • Understanding the Root and Scoped service providers
  • Registering and resolving open generics, classes with multiple interfaces; and interfaces with multiple class implementation
  • Automated service registration packages
  • 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
  • How applying some of the classic Gang of Four Design Patterns to your DI registration can take the Microsoft DI container beyond its out-of-the-box functionality.

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.

About Speaker:
Steve Collins is an independent .NET architect/developer based in the UK. He has been developing with Microsoft technologies since the early 90’s, these days focussing on .NET. He is active on Twitter @stevetalkscode and blogs at https://stevetalkscode.co.uk.

He has given talks at several .NET user groups (including the first virtual meetup for .NET South West in April) and DeveloperDeveloperDeveloper! conferences around the UK and has appeared on a couple of podcasts, talking about .NET configuration

https://dotnetcore.show/episode-49-configuration-in-net-core-with-steve-collins/
https://www.dnistream.live/show/12-file-configuration-blues

Members are also interested in