New Posts New Posts RSS Feed: Async CTP
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Async CTP

 Post Reply Post Reply
Author
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Topic: Async CTP
    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.
Back to Top
mseeli View Drop Down
Newbie
Newbie
Avatar

Joined: 20-Sep-2010
Location: Switzerland
Posts: 31
Post Options Post Options   Quote mseeli Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 15-Nov-2010 at 1:35pm
See:

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


Back to Top
mseeli View Drop Down
Newbie
Newbie
Avatar

Joined: 20-Sep-2010
Location: Switzerland
Posts: 31
Post Options Post Options   Quote mseeli Quote  Post ReplyReply Direct Link To This Post 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?


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down