New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Ninject #92
Comments
Doesn't mvvm light introduce a DI solution who should fit for pretty all basic stuff? Howecer if you wanna go with ninject I'm ok with it. Just don't have any experience with it. |
@NPadrutt Yeap, it does. But Ninject is a lot better, and used in a lot other Project like asp.net mvc projects. I already use it on my projects, and ninject is really easy :P |
Just used it once in asp.net webapi project. But didn't set it up =) btw, is ninject further developed? I read once that the cease development since of different changes in the language who should turn it obsolet? |
You can check here: https://github.com/ninject/ninject |
Ah, nice :) |
To have decoupled and testable code we cave to use Dependency injection principle.
How about to use Ninject to inject classes dependencies.
Octokit use interfaces for almost all objects, after moving to octokit we will have better code to test.
http://blog.frederikprijck.net/2013/09/10/dependency-injection-in-a-wpf-mvvm-application-using-ninject/
The text was updated successfully, but these errors were encountered: