Inaam ur Rehman is a Senior Software Engineer in Allied Consultants. With a experience over 3 years in ASP.Net, SharePoint, BizTalk, Java Script and JQuery . He is one of the key resources of ASP.Net for the organization.
Technology

Call a CallBack method when asynchronously Call completes in Asp.net Part IV

In Previous articles, we established a result that one delegate function which wrapped a function to call asynchronously. Now there will be another asynchronous function which calls when asynchronous function completes its execution just like another asynchronous function. In Callback function you can process result or call EndInvoke methods or any other action to perform […]

Technology

Call a method asynchronously using Polling Pattern in Asp.net Part II

In Previous article we discussed about EndInvoke in asynchronous call. The subject matter of this article is polling pattern in asynchronous call. The IAsynResult object has property IsCompleted that return Boolean which will help us to check whether asynchronous call complete or not. We will add a loop that will always check either IsCompleted become […]

Technology

Call a method asynchronously using AsynWaitHandle in Asp.net Part III

In Previous article, we discussed asynchronous method using Polling pattern, its asynchronous method using WaitHandle, now. In wait handle pattern the IAsynResult has property AsyncWaitHandle which helps to keep an eye on asynchronous call. In this scenario main thread blocks and waits for signal in the meanwhile other tasks can be seen before calling endInvoke. […]

Technology

Call a method asynchronously using Delegate EndInvoke Pattern in Asp.net Part I

We can call a method asynchronously using delegate. Delegate is an object that can wrapped function asynchronously. Delegate is just like the function pointer in c++. For more information about delegates you can check this Link http://msdn.microsoft.com/en-us/library/ms173171.aspx. You can invoke any method asynchronously with a little effort using BeginInvoke and EndInvoke methods of the delegate […]