Using Prism and MVVMLight to implement the MVVM pattern in WPF

In my previous post, I created a small Windows Presentation Foundation (WPF) application demonstrating Storyboard Animations where I also described how and why to Model-View-ViewModel (MVVM) pattern to the code. Recapping, the benefits of adopting the MVVM pattern include providing a separation of concerns between the application logic and the presentation logic and … Continue reading

WPF Storyboard Animations – part two

In part one I described how to control Storyboard animations using triggers.  I created a demo application to provide an example use case.  In this post I will discuss converting the demo application to adopt the Model-View-ViewModel (MVVM) pattern as well as describing why this is a worthwhile exercise. MVVM What is MVVM?  It … Continue reading

WPF Storyboard Animations – part one

In my previous post I described how DataTrigger and MultiDataTrigger can be used to customise the style of a UserControl . Now I want to expand on the usage of these triggers, specifically to control Storyboard  animations. In this post I will describe how to achieve this using dependency properties (DP) and logic … Continue reading

Multithreading in C# .Net – part three

concurrency testing framework

In the part one and part two I have described various threading and synchronisation methods that could be used to solve the scenario in the program.  In this post I will detail how I validated the code through xUnit and CHESS.  I will also describe other threading methods that weren’t suitable … Continue reading

Multithreading in C# .Net – part two


In part one I described four different threading methods used in my multithreaded application.  The application consists of three threads that execute at different frequencies, processing different logic on each thread.  The methods that I covered included Thread, ThreadPool, Task and BackgroundWorker.  In this post I will detail the various … Continue reading

Multithreading in C# .Net – part one

.Net Parallelism

There are a variety of ways to add parallelism to your .Net application.  I won’t go into detail about the benefits of doing so, suffice to say that if your application is executing multiple tasks that can run in parallel, it can benefit from being multithreaded. In order to implement … Continue reading