about programming and software engineering by a hungarian living in austria
Discount for my course: High Performance Coding with .NET Core and C#

Contents tagged with Async

CancellationToken and Task Cancellation - .NET Concept of the week - Episode 1

I decided to start something new! I will create a video every week, where I explain a concept related to .NET programming. The first video is out! It’s about CancellationToken and task cancellation.

Asynchronous programming in C#

Two posts from me were published on the about:performance blog about the async capabilities of C#

Classes with long initialization process implemented with Tasks in C#

When I work on Windows 8 Apps I often have the situation where I have a class which has a longer initialization process (e.g. deserialising some state from the file system, loading data over the network, make some complicated calculation, etc). One solution would be to write a public 'initialize' method and call it first to initilize the class. The problem with this is that it is…