Freigeben über


Visual Studio Toolbox: Dependency Injection

In this episode, I am joined by Miguel Castro, who explains dependency injection, which makes it easy to resolve classes at any level in any size object hierarchy, all the while making your application much easier to test. Miguel demystifies this important technique and explains why and how you should use it in every project.

Comments

  • Anonymous
    November 08, 2017
    great informations thanks
  • Anonymous
    November 10, 2017
    Nice one. That's probably the clearest description of DI I've seen, and it all seems so simple!
  • Anonymous
    November 10, 2017
    This clean example of DI helped me! Thanks
  • Anonymous
    November 11, 2017
    Great article, really simplifies the process and makes complete sense, you mentioned making the code available?
  • Anonymous
    November 13, 2017
    Strong cohesion and weak coupling, the testability is after that. Try to "sell it" better next time. The military flavor was not cool by the way.
    • Anonymous
      April 03, 2018
      Milen, "military flavor"? So what exactly does that mean? Sell it better? You watched didn't you.
  • Anonymous
    November 21, 2017
    Will you be making the code available to download?
  • Anonymous
    February 26, 2019
    thanks for your posts