Results 1 to 3 of 3

Thread: Dependency Injection

  1. #1

    Thread Starter
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,714

    Dependency Injection

    I am curious for .NET developers, do you implement dependency inject for your solutions/projects and if so are you using Unity, Ninject or another library for injection.

  2. #2
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Dependency Injection

    I generally try and use it as a pattern because it aids flexibility. I don't use any framework though.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  3. #3
    You don't want to know.
    Join Date
    Aug 2010
    Posts
    4,578

    Re: Dependency Injection

    I just sort of saw the light with it over the last year, after struggling with the concepts for 3-4 years. I don't use a DI container, just Poor Man's Injection. Currently struggling with a legacy project that is a mixture of "We don't use DI" and "We have a DI container that we pass as an argument to some classes".
    This answer is wrong. You should be using TableAdapter and Dictionaries instead.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width