Created
August 1, 2013 07:49
-
-
Save kad1r/6129280 to your computer and use it in GitHub Desktop.
Async calls in ASP.Net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delegate void _asyncFunction(params object[] args); | |
static void Main() | |
{ | |
_asyncFunction _delegate = new _asyncFunction(Foo); | |
_delegate.BeginInvoke(new object[] { "fooo" }, null, null); | |
} | |
static void Foo(params object[] args) | |
{ | |
// do something ... | |
} | |
// usefull articles | |
// 1. http://www.ben-morris.com/making-an-asynchronous-call-in-asp-net-on-synchronous-pages | |
// 2. http://www.dotnetcurry.com/ShowArticle.aspx?ID=237 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment