Tag Archives: MVVM

Simple MVVM Toolkit: Ready for RIA Services

Part of Microsoft’s Silverlight strategy is to position it as a platform for building rich line of business applications.  One reason for this is the deployment story: in or out of the browser on Windows, Mac or Linux.  Another is … Continue reading

Posted in Technical | Tagged , | 15 Comments

Simple MVVM Toolkit: Unit Testing with Dependency Injection and MEF

One of the main benefits of using the MVVM (Model, View, ViewModel) design pattern is to support better testability.  Having to click through screens to test an application can be tedious and time-consuming, and it may not provide good code … Continue reading

Posted in Technical | Tagged , , | 2 Comments

Climb Onboard on the MVVM Message Bus

In a previous post I blogged on various ways to tackle the problem of showing dialogs in an MVVM application. There I advocated using events as a communication mechanism.  The ViewModel fires an event; the View can subscribe to the … Continue reading

Posted in Technical | Tagged | 20 Comments

Using Open Source? Get NuGet.

My friend and fellow DevelopMentor instructor, Michael Kennedy, just turned me on to the NuGet Package Manager, a very cool way to install and use open source software right from within Visual Studio.  Let’s say you use one or more … Continue reading

Posted in Technical | Tagged , | 2 Comments

Simple MVVM Toolkit: Feature Rich with WPF and WP7 Support

I’ve rounded out the feature set of my Simple MVVM Toolkit to include a Message Bus (also known as an event aggregator or mediator) for loosely coupled communication among view-models and to support MEF (Managed Extensibility Framework0 for dependency injection … Continue reading

Posted in Technical | Tagged , , , , | Leave a comment

Easier Async for Silverlight Apps using MVVM

It makes sense to execute long-running tasks on a background thread, in order to keep the UI responsive by not tying up the main thread.  However, as is the case with other UI frameworks such as Windows Forms or WPF, … Continue reading

Posted in Technical | Tagged , | 4 Comments

Tackling the Problem of Modal Dialogs in MVVM

One of the first issues you’ll run into when wading into the waters of MVVM is how to display model dialogs to the user while executing code in the view-model.  Popping up a dialog, such as a MessageBox or a … Continue reading

Posted in Technical | Tagged , | 25 Comments

Type-Safe Two-Way Data Binding with INotifyPropertyChanged

Anyone who’s developed a UI application using Windows Forms, WPF or Silverlight is probably aware that you have to implement the INotifyPropertyChanged interface to get two-way data binding between UI elements and an underlying data source. The problem is that … Continue reading

Posted in Technical | Tagged , | 13 Comments

Simple MVVM Toolkit Improvements: Documentation, Features, Sample Apps

I’ve released a new version of my Simple MVVM Toolkit for Silverlight that has improved documentation, a bunch of new features and additional sample applications.  The emphasis of the toolkit is simplicity – not in the sense that it’s rinky-dink … Continue reading

Posted in Technical | Tagged , | Leave a comment

MVVM: Simple is Beautiful

It’s been a few weeks since I published the Simple MVVM Toolkit for Silverlight on CodePlex. Since that time I’ve fleshed out the documentation, which includes installation instructions and a programming reference.  I’ve also published an update that includes some … Continue reading

Posted in Technical | Tagged , | 12 Comments