Have you ever faced the problem that extending enum type by new values may cause unpredicted behavior of the application? I recently have. As the solution for this problem I figure out how to design enum values so they can be easily sortable and easily expandable in future, causing no side effect.
Localdb database is very flexible and comfortable to use. Although its purpose is rather to serve a development database storage, its also possible to use it in a production. Unfortunately using it in, for instance, Click-Once deployed application generates some strange problems. One of those mystery problems I faced recently.
In this post I will try to present you my implementation of event aggregator, which I used in WPF MvvM application. I will also try to point out the advantages of my implementation over other found in the internet.