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 can see results are similar than last entry except this time we are 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 are similar then last entry except this time we are using Parallel, I 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 are similar then last entry except this time we are using Tasks. Wishes 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 and replace only this method to the new one. I would like to 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 for this subject and this is one of my very good example. 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 and without async keyword? Answer is very simple. Everything you need is a Continue ReadingThe Powerful Async Pattern in .NET 1.1 without TPL and Async CTP1