Print Page | Close Window

Async CTP

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2304
Printed Date: 29-Jul-2026 at 12:23pm


Topic: Async CTP
Posted By: mseeli
Subject: Async CTP
Date Posted: 15-Nov-2010 at 1:55am
What are your plans for support of the Async CTP from Microsoft?
Will it replace your coroutines?
Is it possible to use the Async CTP with the current version auf DevForce?





Replies:
Posted By: davidklitzke
Date Posted: 15-Nov-2010 at 1:35pm
See:

http://www.ideablade.com/forum/forum_posts.asp?TID=2262&title=help-for-vb-programmers




Posted By: mseeli
Date Posted: 13-Dec-2010 at 6:23am
I am still trying to get the async CTP to work with DevForce.

I want to do something like this:

public async void GetCustomers()
{

     var query = Manager.GetQuery<Customer>().Where(x=>x.Name == "Miller");

     var result = await query.ExecuteAsync();

     Console.WriteLine(result.Result.Count().ToString()); 

}

It keeps complaining that Customer does not contain a definition for GetAwaiter

Could you give me a working example of getting customers async using the new async CTP

Thanx 
Markus Seeli


Posted By: DenisK
Date Posted: 13-Dec-2010 at 4:17pm
Markus;

Sorry but we don't currently have Async CTP example since it is a technology preview. For now, I can only recommend using Coroutines.



Print Page | Close Window