As promised, here is the content from my Demystifying MVVM session @ Techdays Portugal. For those who weren’t there, there’s a lot of stuff in this demo code:
- MVVM base classes,
- Connecting VM’s to V, using the Locator pattern
- Connecting them using MEF
- Unit Testing
- MEF & Mocking
- Command implementations (regular & generic), CommandTriggerAction
- App wide messaging
- Auto IsDirty support with WCF RIA Services
- IDialogService implementation for showing Dialogs the MVVM way (same principle applies for your own navigation, states, animations, …)
- … and some more stuff.
So: have a look at the code, and start MVVM-ing yourself in mintues! 😉