Even with my Googling powers I cannot seem to find a good example of the Asynchronous Programming Model with a callback delegate. It is easy for me to point someone to a resource for how to use the BeginSomeMethod and EndSomeMethod but there does not seem to be any good examples of how to create them. Am I googling wrong or has no one really put together a good tutorial for anyone with this patter.
And the MSDN section on the Async Design Pattern - http://msdn.microsoft.com/en-us/library/ms228969.aspx
Franci Penov
2010-03-10 16:38:54
The article is not the basic implementation. Also the MSDN seems to not show the meat of the methods unless I'm missing something. I would like a project to just hand off to someone else for them to understand how to write APM code. Might be time to whip out a sample.
cjibo
2010-03-10 20:29:39
Second look makes more sense now. I was originally looking for a straight up implmentation of IAsyncResult but the AsyncResult<T> is even better.
cjibo
2010-03-11 14:47:12
A:
I suggest you to look for EasyAsync, a lightweight toolkit for those kind of usages.
neil
2010-03-11 13:42:38