async-ctp Questions

2

Solved

So the new async CTP is very cool; it makes my life a lot easier not having to write named callback methods and makes the intent of the methods a lot clearer. Now that I've gotten to play with it ...
Conrado asked 24/10, 2011 at 0:33

1

Solved

Firstly a forward apology: I cannot isolate the following bug into a simple console application. However, in my relatively simple ASP.NET Web Forms application, the following code will cause the cu...
Misjoinder asked 18/10, 2011 at 8:25

2

Solved

I've not had chance to check out the CTP of the new C# async/await feature, but here's something I was wondering: How does it integrate with the message loop? I assume that in a standard Windows a...
Blame asked 12/10, 2011 at 21:52

1

Solved

Quick question, couldn't find a answer via google... Does the Windows Azure platform support Async CTP? Is it a matter of copying references?
Yalu asked 19/9, 2011 at 1:43

3

Solved

I've recently been playing around with the new Async CTP, and I've come across a situation where I'm not sure how to proceed. In my current code base, I'm using a concept of "jobs" and a "job mana...
Coaxial asked 12/9, 2011 at 19:54

2

Solved

I've been reading about the new async await keyword and it sounds awesome, but there is one key question I haven't been able to find the answer for in any of the intro videos I've watched so far (I...
Acis asked 11/8, 2011 at 20:19

2

I have a short async task that will frequently need to be canceled after it has started. The "Task" class has an IsCanceled indicator which I think would be convenient to use to indicate that the a...
Sublieutenant asked 11/8, 2011 at 20:36

3

I have these two methods, that I want to run async to keep the UI responsive. However, it's still hanging the UI. Any suggestions? async void DoScrape() { var feed = new Feed(); var results = ...
Dissonant asked 17/7, 2011 at 19:14

1

Solved

I'm about 15 minutes into my first play with the async CTP... (nice). Here's a really simple server I've knocked together: internal class Server { private HttpListener listener; public Server()...
Crispy asked 22/6, 2011 at 23:11

3

Solved

I am playing with the new Async CTP bits, and I can't get it work with either server-side or just command-line program (and all the examples are either WPF or Silverlight). For example, some trivia...
Gainor asked 31/5, 2011 at 5:41

1

Solved

I started watching Jon Skeet's presentation on C# Async CTP. He stuttered when it came to specifying timeouts. Coming from fairly limited exposure to F#, there is an intuitive, centralized, and si...
Beret asked 5/5, 2011 at 5:22

2

Solved

Here's the code: static class AsyncFinally { static async Task<int> Func( int n ) { try { Console.WriteLine( " Func: Begin #{0}", n ); await TaskEx.Delay( 100 ); Console.WriteLine( " ...
Puncheon asked 17/2, 2011 at 18:7

3

Solved

I'm evaluating the Async CTP. How can I begin execution of an async function on another thread pool's thread? static async Task Test() { // Do something, await something } static void Main( str...
Krypton asked 11/2, 2011 at 19:52

© 2022 - 2024 — McMap. All rights reserved.