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 →