What is the benefit of Asynchronous Programming with async and await over Event based Async pattern

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,<br/>
can you please tell the main benefits of Asynchronous Programming with async and await over Event based async pattern.<br/>
I have some basic knowledge of Silverlight application.<br/>
In event based Asynchronous pattern when the async operation is completed a event will be raised and the operation completed signal(along with Event Argument) is sent to the caller of the method.<br/>
I dont see any problem here in this programming model.<br/>
Even this Asynchronous pattern does not hang out our UI(Silverlight UI) even if there is a delay in receiving response from WCF.<br/>
Is there any problem with this model? <br/>
Of course there may be some issues with model, thats why in C# 5.0 async and await came to do async programming in a completely different way.<br/>

View the full article
 
Back
Top