Join us Thursday, April 8, 2021, 16:00 – 17:00 CEST (10:00 AM – 11:00 AM EDT or check other timezones) for our free live webinar, .NET 5 Dependency Injection, with Steve Collins.

Register now and get a reminder, or join on YouTube

Since the release of .NET Core (now.NET 5), more developers are making use of dependency injection by using the default Microsoft Dependency Injection container that comes out of the box with .NET Core. This default implementation is sometimes limited in what it can do when compared to the features found in other containers available for the platform. In addition, there are some pain points that you may encounter if you have not read all of the documentation.

This talk will take you beyond the basics of the Microsoft container and covers more complex topics such as:

  • Explaining the limitations of the default container
  • Integrating with other DI containers
  • Perceived conflicts between service lifetimes
  • Understanding the Root and Scoped service providers used with different lifetimes
  • Thread safety and avoiding memory leaks, particularly with Singletons
  • Understanding deliberate and unintended multiple registrations
  • Registering and resolving classes with multiple interfaces
  • Registering and resolving multiple class implementations of a single interface
  • Registering and resolving open generics
  • Keyed and named registrations are not supported … but I need it!
  • How traditional design patterns such as Factory, Builder and Decorator can be integrated
  • Using delegate functions over OOP interfaces and classes
  • Automated service registration

#dotnet #progrmaming #developer

.NET 5 Dependency Injection
2.10 GEEK