The Powerful Async Pattern in .NET and C# 5.0 with Async CTP1

Hi, in my blog entry The Powerful Async Pattern in .NET 1.1 without TPL and Async CTP1 I wrote about async pattern in .NET 1.1. And today I would like to show pattern with Async CTP1 for .NET and C# 5.0. Example code is very similar except RunAsync method that I will show below. And below is an output with results. So, as you Continue ReadingThe Powerful Async Pattern in .NET and C# 5.0 with Async CTP1

The Powerful Async Pattern in .NET 4.0 with Parallel

Hi, in my blog entry The Powerful Async Pattern in .NET 1.1 without TPL and Async CTP1 I wrote about async pattern in .NET 1.1. And today I would like to show pattern with parallel for .NET 4.0. Example code is very similar except RunAsync method that I will show below. And below is an output with results. So, as you can see results Continue ReadingThe Powerful Async Pattern in .NET 4.0 with Parallel

The Powerful Async Pattern in .NET 4.0 with Tasks

Hi, in my blog entry The Powerful Async Pattern in .NET 1.1 without TPL and Async CTP1 I wrote about async pattern in .NET 1.1. And today I would like to show pattern with tasks for .NET 4.0. Example code is very similar except RunAsync method that I will show below. And below is an output with results. So, as you can see results Continue ReadingThe Powerful Async Pattern in .NET 4.0 with Tasks

The Powerful Async Pattern in .NET 2.0 with Threads

Hi, in my last blog entry The Powerful Async Pattern in .NET 1.1 without TPL and Async CTP1 I wrote about async pattern in .NET 1.1. And today I would like to show pattern with threads for .NET 2.0. Example code is very similar except RunAsync method that I will show below. If you would like to test it you need last entry code Continue ReadingThe Powerful Async Pattern in .NET 2.0 with Threads

The Powerful Async Pattern in .NET 1.1 without TPL and Async CTP1

Hi, today I would like to show you Async Pattern for .NET 1.1 and C#. I prepared training workshop on this subject and this is one of my very good examples. So, below I will show you an example test code of entire async versus sync performance measurement solution. You may wonder how that is possible in .NET 1.1 without the Task Parallel Library Continue ReadingThe Powerful Async Pattern in .NET 1.1 without TPL and Async CTP1