WPF Async Pack is a small library for creating asynchronous WPF applications. It’s not a framework, it was created mainly for the small applications where installing heavy frameworks is just overkill. It doesn’t have any dependencies and contains such the most used classes as AsyncCommand and BaseViewModel.Read More →

Imagine a quite common client-server application where server exposes REST methods and client communicates using HTTP requests. Requests and responses are serialized in JSON format. There might be a problem if you try to send and receive a DTO that contains a collection of interfaces or abstract classes. I will talk about usage of Web API and Newtonsoft Json.NET as it’s underlying serialization library.Read More →

You can see examples of global system-wide hot keys almost in every application: media players, chats, different tray tools. The application can be minimized or even hidden, but you can control it by pressing hot keys no matter what is in focus right now. Unfortunately, .NET Framework doesn’t contain convenient classes or methods for setting up global system-wide hot keys. The only way to achieve this is to use the Windows API functions.Read More →

Sometimes we need to disallow starting multiple instances of our application (for example, it make sense for music players, applications for Windows Tray, etc.). The easiest and, probably, the most proper way is to use Mutex – a synchronization primitive.Read More →