Best of Dependency InjectionJune 2024

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

    EP 62 : Dependency Injection Explained in .NET

    Dependency injection is a programming technique in which an object receives other required objects instead of creating them internally. Benefits of dependency injection include automatic handling of object creation and disposal, easy unit testing, and adaptability to changes without affecting existing code. Dependency injection can be implemented using the singleton, transient, or scoped approach.

  2. 2
    Article
    Avatar of medium_jsMedium·2y

    Kotlin MultiPlatform (KMP)

    Learn about setting up the environment for Kotlin MultiPlatform development, the structure of a KMM project, and using coroutines in iOS.

  3. 3
    Video
    Avatar of codeheimcodeHeim·2y

    #41 Golang - Master Dependency Injection in Go

    Learn about dependency injection in Go and how it can make code easier to change and test. See how to implement dependency injection using interfaces and structures. Explore a bakery example to understand the concept.

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

    EP 64 : Service Locator Pattern in .NET

    The service locator pattern in .NET allows for the injection and retrieval of services via a central service provider. It's useful in scenarios where dependency injection isn't feasible, such as dealing with service scope mismatches or updating legacy code. Although practical, it has drawbacks, including testing complications and potential for poor design choices. Direct dependency injection is generally preferred for its cleaner and more manageable structure.