Synchronous vs Asynchronous Methods in ASP.NET

Synchronous Method Stopwatch application: Result: 3.506 s Google chrome benchmark: Result: 3.42 s Asynchronous Method Stopwatch application: Result: 1.143 s Google chrome benchmark: Result: 1.40 s References Tutorial can be read here Sample project can be found here Conclusion So far, a lot of attention has been paid on how to use async, but there…

Asynchronous Programming in C# (.NET Framework 4.5 or Higher)

Asynchronous Programming Asynchronous operation means that the operation runs independent of main or other process flow. In general c# program starts executing from the Main method and ends when the Main method returns. In between all the operations runs sequentially one after another. In Synchronous, one operation must wait until its previous operation finishes. Let’s…