Top "Async-ctp" questions

This covers the asynchronous programming model supported by various programming languages, using the async and await keywords.

Task<> does not contain a definition for 'GetAwaiter'

Client iGame Channel = new ChannelFactory<iGame> ( new BasicHttpBinding ( BasicHttpSecurityMode . None ) , new EndpointAddress ( new Uri ( "http://localhost:58597/Game.svc" ) ) ) . …

c# wcf silverlight-5.0 async-ctp
How to call an async method from a getter or setter?

What'd be the most elegant way to call an async method from a getter or setter in C#? Here's some …

c# async-ctp
can not await async lambda

Consider this, Task task = new Task (async () =>{ await TaskEx.Delay(1000); }); task.Start(); task.Wait(); The call task.Wait() does …

c# task-parallel-library async-await async-ctp
Using async-await on .net 4

I'm currently starting to create an application that would profit a lot from C# 5's async-await feature. But I'm not …

c# .net-4.0 async-ctp async-await c#-5.0
How to limit the amount of concurrent async I/O operations?

// let's say there is a list of 1000+ URLs string[] urls = { "http://google.com", "http://yahoo.com", ... }; // now let's send HTTP …

c# asynchronous task-parallel-library async-ctp async-await
What's the difference between returning void and returning a Task?

In looking at various C# Async CTP samples I see some async functions that return void, and others that return …

c# asynchronous task-parallel-library return-type async-ctp
Async Task.WhenAll with timeout

Is there a way in the new async dotnet 4.5 library to set a timeout on the Task.WhenAll method. I …

c# .net async-ctp async-await
Is Async await keyword equivalent to a ContinueWith lambda?

Could someone please be kind enough to confirm if I have understood the Async await keyword correctly? (Using version 3 of …

c# async-await continuations async-ctp
Why use async requests instead of using a larger threadpool?

During the Techdays here in the Netherlands Steve Sanderson gave a presentation about C#5, ASP.NET MVC 4, and asynchronous Web. …

c# asp.net asynchronous async-ctp
Cancellation Token in await method

There are many reasons to put a token in the constructor of a task, mentioned here: Cancellation token in Task …

c# async-await async-ctp cancellation-token