Async in ASP.NET
- Date: July 17, 2012 from 8:30AM to 10:00AM
- Day 1
- Speakers: Levi Broderick
- 34,988 Views
- 16 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Async is here and it's awesome, but how do you leverage for maximum affect in a server environment? When should you use async and what shouldn't you do to avoid headaches? Hear from the ASP.NET team about async support in ASP.NET, the features, the pitfalls and most importantly the use cases that make sense in the context of an ASP.NET application.
Already have a Channel 9 account? Please sign in
Follow the Discussion
expected!
We are waiting!
They sessions are coming soon folks, it takes a bit of time to get them online after the event (which was yesterday).
I'm loving how hungry everyone is for these sessions. I caught a few live but can't wait until they're posted.
-cheers
Yesterday smeshterday :)
Thanks, guys! Great content!
In particular, thanks for not just showing "what works" but also the pitfalls.
Just a couple of notes:
await Task.WhenAll(results);
return results.Select(t => t.Result);
with:
return await Task.WhenAll(results);
-Steve
I like seeing the love for async/await, but don't understand why the only path mentioned for using it is 4.5?
The async targeting pack is awesome! I'd much rather you told 4.0 peeps to use that instead of making it appear that they're stuck not being able to use async/await at all!
I'd much rather see those non-await options listed as 'stuck using VS2010' since the async targeting pack does require vs11/vs2012
http://nuget.org/packages/Microsoft.CompilerServices.AsyncTargetingPack/1.0.0
This is one of the most awesome recordings among all the Channel9 videos. Thanks all of you guys for an outstanding presentation and answering all of my questions during the session
Thanks for making async available and easy for the 'rest' of us.
Thanks so much for the Virtual Conference! I was setting up my application and have been extremely intrigued by WebSockets ever since the sdk came out last year. I am running VS12 on Windows 7 and whenever I try to run my websocket I get a "The IIS WebSocket module is not enabled." error. Where can I turn this on at? I see IIS 8 Express in my Add or Remove Programs, but can't seem to find it in my system. I assume it was installed with VS12?
Super!!!
Great event,thx...
Re: Asynchronous development in VS 2010, Some - and by some, I mean ALL of us have existing applications - many of which are firmly planted in <= Net 4.0 soil. We don't have the luxury of uprooting entire codesets overnight.
It has now been over a week. When are you going to post the video from Tibi's (@tibor19) talk??? His clever use of anonymous methods was excellent and unlike any other post/blog out there on the interwebs.
@Jim Lizzi:WebSockets in ASP.NET 4.5 requires IIS8 or IIS Express 8 on *Windows 8*. It is not available on Windows 7.
@DevDelimited:ok NOW I see it! It would have been helpful to categorize Day 2 sessions under Day 2.
http://channel9.msdn.com/Events/aspConf/aspConf/Fast-Faster-Async-ASP-NET
Nice video guys. Great primer. I've never been more excited about the .net stack.
Can we use "async void" event handlers in web user control? I tried and failed with "An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked <%@ Page Async="true" %>.". And I'm pretty sure that I have enabled async for the container page.
Remove this comment
Remove this thread
close