C# Asyn/Await and Task Parallel Library

In order for a native desktop application to be responsive, I mean, not to freeze whilst sending a request over the network or processing a heavy CPU operation, these operations have to run in a separate thread. .Net 4.0 introduced promises (a well-known concept for...

DTO vs Domain Models

Note: read Part II of this post here. A Data Transfer Object (DTO) is an object intended to carry data, for example between the client and the server or between the UI and the domain layer. It exposes fields or properties (getters and setters) publicly. Sometimes a...