• MVVM - View-ViewModel Separation with Dialog Events

    This post is born out of my frustration with current MVVM examples available on the Internet. I’ll demonstrate how to show a dialog and get the result back in an MVVM way and also show you how to unit test it.

    Read on →

  • Asynchronous Programming in C#

    Asynchronous programming causes a lot of confusion because the documentation is a bit lacking and this results in awfully bad implementations. This post compiles my research on this subject so you’ll see lots of quotes from various sources (official and trusted third parties).

    Read on →

  • Awaiting on Events

    I discovered a technique to await on events and in this post I’ll show it and describe how it works. It’s needed only in rare cases, but the technique is interesting enough to write a post about it.

    Read on →

  • Async Task vs BackgroundWorker in WPF

    In this post we’re going to see 2 different implementations for executing tasks in a background thread. This is especially useful for keeping the user interface responsive and the user delighted at all times.

    Read on →

  • Asynchronous programming in C# with WPF

    I know nothing about the Task Parallel Library and writing a blog post about this is a great opportunity to learn about it. This post won’t be exhaustive: I’ll just explore Microsoft’s recommended way of implementing asynchronous programming.

    Read on →