Silverlight, M-V-VM ... and IoC - part 4

Let’s move on to the next step and remove all the code on the view that is directly related to the commands the user can give through buttons. To do so we use a new feature of Silverlight 4: Commanding. Since the release of Silverlight 2 the runtime


Silverlight, M-V-VM ... and IoC - part 3

It’s time to go on with this series, at this point we know the basic principles of MVVM and we have a set of base classes and interfaces we can use. We need to put it in action and see how we can implement the View and the ViewModel and how we can ti


Silverlight, M-V-VM … and IoC – part 2

In the previous post I’ve presented a very fast introduction of what MVVM is and I’ve defined the two basic interfaces for the view and the viewmodel; I’m not going to implement a ‘pure’ version of the pattern itself because I consider a pattern just


Silverlight, M-V-VM ... and IoC - part 1

Speaking of my previous post about build and IoC-enabled Silverlight Navigation framework a couple of friends of mine asked me mode details about how I implemented the MVVM pattern for a line of business application. Model-View-ViewModel is a very s