Best of Dependency InjectionNovember 2023

  1. 1
    Article
    Avatar of mwaseemzakirWaseem .NET Newsletter·2y

    EP 39 : How to organize your dependencies in .NET

    The article discusses three different approaches of registering dependencies in .NET, which are inline dependency registration, extension method dependency registration, and modularized dependency registration. Each approach offers its own benefits, with modularized dependency registration providing a more organized and modular approach to dependency registration.

  2. 2
    Article
    Avatar of gcgitconnected·3y

    Difference between @Component, @Service, @Controller, and @Repository in Spring Framework

    Learn about the differences between @Component, @Service, @Controller, and @Repository annotations in the Spring Framework and how Component Scanning works.

  3. 3
    Article
    Avatar of discdotDiscover .NET·2y

    Primary constructors has caused concerns for C# developers

    Concerns have been raised by C# developers regarding the use of primary constructors for dependency injection. While primary constructors reduce code bloat, the mutability of parameters can lead to instances being changed in other parts of the class, increasing the risk of runtime exceptions. There are discussions about adding read-only parameters to primary constructors in the future.