Something about nothing

Posted: Tuesday, 12 September 2017

I must admit when I first saw the list of new language features for C# 6 like many I wasn’t that impressed, especially off the back of async/await. This last month I have at last started my first new real C# 6 project and I must say while the features have not been earth shattering they are actually a joy to use…

Working with CancellationToken and Dispose

Posted: Wednesday, 30 August 2017

CancellationToken were introduced in .NET 4.0 as a general purpose cancellation framework. It is often associated with Task as that was the first API to it. However, it is, in fact, independent of Task and should be used wherever you are supporting the concept of cancellation as async APIs you may call with be designed with it in mind…