In this article I will discuss about the different ways in which we can perform a long running operation asynchronously in C#. I will discuss all the cases with examples. This will help you to decide which method you can opt for while working asynchronous programming. [Read more…] about How to perform C# Asynchronous operations
Thread
C# async await simple example
In this article I will discuss about the async await keywords. These have been introduces in the C# 5.0 and .NET 4.5 framework to make task parallel library more convenient to use with tasks. Many times while working on the long running operation we stumble upon usage of asynchronous programming. Here we want to use C#’s async and await keyword but don’t know how to use it with C#. In this article I will use the same example which I have used in my previous article about C# task result, continuation and exception. You can read about the basic of task here.
C# Task Continuation, Exceptions and Result
Tasks Introductions
In one of my article I have briefed about the task and in this article I have discussed about the differences between the threads and task. In this article I will discuss about the task in C# with real world code example for handling continuations, exception handling and returning results from the tasks which will make you understand why and how we can use task in C#.
[Read more…] about C# Task Continuation, Exceptions and Result
Race Condition and Thread Synchronization .NET
In my previous article I have discussed about the Basics of threads and Thread Pooling in C#. In this article I want to discuss about the Race condition and Thread synchronization when we are working with multiple threads in .NET platform using C# language.
[Read more…] about Race Condition and Thread Synchronization .NET
Working with thread pool in C#
I have already discussed about the basics of the thread in my previous article. In this article I will discuss about the working with thread pool in C#. Why do we need thread pool? How to use them in the programming scenarios? And other stuff related to them.