How to handle dependency injection in a WPF/MVVM application
I have been using Ninject, and found that it’s a pleasure to work with. Everything is set up in code, the syntax is fairly straightforward and it has a good documentation (and plenty of answers on SO). So basically it goes like this: Create the view model, and take the IStorage interface as constructor parameter: … Read more