// Arrange Act Assert

Jag Reehal on Agile Development, ASP.NET MVC, Silverlight and all manner of good stuff


Applying the Open Closed Principle in Silverlight and WPF using MEF

In this post I want to show how MEF can be used to apply the Open Closed Principle where a class is open for extension but closed for modification. In the Calculator application we have been building as part of the Silverlight refactoring series we could have used the code below to validate a users [...]

SOLID design principles using MEF in Silverlight and WPF

In this part of the Silverlight refactoring series we will be looking at two ways the Managed Extensibility Framework (MEF) can help you refactor Silverlight or WPF applications to follow SOLID design principles. The code used in this post can be downloaded here. Apart from saying through discovery and composition MEF gives you the ability [...]

How to Apply the Single Responsibility Principle to View Models in Silverlight and WPF

When you’re using the MVVM pattern with WPF or Silverlight it’s very easy to a have ViewModels that do too much. In this part of the Silverlight Refactoring series we will convert a ViewModel with multiple responsibilities so that it adheres to the Single Responsibility Principle (SRP). The code used in this post can be [...]

How to Implement MVVM, INotifyChanged and ICommand in a Silverlight Application

In this post we will be converting an application that adds two numbers together to use the MVVM (Model-View-ViewModel) pattern as part of the How To Refactor And Build Better Microsoft Silverlight Applications series. The code used in this post can be downloaded here. Why MVVM? While I could write about what MVVM is, I [...]

How To Refactor And Build Better Microsoft Silverlight Applications

As with all development technologies if you asked two developers how to solve a problem it’s unlikely both would come up with the same solution. It’s no surprise then the same solution to a problem using Silverlight and WPF applications can be implemented in a number of ways. In a series of posts I want [...]

keep looking »