Skip to main content
Microsoft
.NET Parallel Programming
.NET Parallel Programming
  • Home
  • DevBlogs
    • Azure DevOps
    • Notification Hubs
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • Azure Artifacts
    • Azure Boards
    • Azure Pipelines
    • Azure Repos
    • Azure Test Plans
    • DevOps
    • C++
    • Java
    • Java Blog in Chinese
    • JavaScript
    • PowerShell Community
    • PowerShell Team
    • Python
    • Q#
    • Scripting
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • NuGet
    • Xamarin
    • #ifdef Windows
    • Apps for Windows
    • Azure Depth Platform
    • Azure Government
    • Azure SDKs
    • Bing Dev Center
    • Command Line
    • CSE Developer
    • Developer Support
    • DirectX Developer Blog
    • IoT Developer
    • Math In Office
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • Old New Thing
    • PAX Media
    • Perf and Diagnostics
    • PIX on Windows
    • Startup Developers
    • Surface Duo
    • Sustainable Software
    • Windows Search Platform
    • Azure Cosmos DB
    • Azure Data Studio
    • Azure SQL
    • Azure Synapse Analytics
    • OData
    • Revolutions R
    • SQL Server Data Tools

    .NET Parallel Programming

    All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and more…

    Parallel Extensions Archives | Page 2 of 22 | .NET Parallel Programming

    Implementing Then with Await
    Implementing Then with Await
    AvatarStephen Toub - MSFTAugust 15, 2012Aug 15, 201208/15/12
    In a post a while ago, I talked about sequential composition of asynchronous operations.  Now that we have the async/await keywords in C# and Visual Basic, such composition is trivial, and async/await are indeed the recommended way to achieve such composition with these languages.However, in that post I also described a few “Then&...

    Comments are closed.0.NET 4.5Async
    Processing tasks as they complete
    Processing tasks as they complete
    AvatarStephen Toub - MSFTAugust 2, 2012Aug 2, 201208/2/12
    Recently I’ve had several folks ask me about how to process the results of tasks as those tasks complete.A developer will have multiple tasks representing asynchronous operations they’ve initiated, and they want to process the results of these tasks, e.g. List<Task<T>> tasks = …; foreach(var t in tasks...

    Comments are closed.0.NET 4.5Async
    Using async/await in WinRT async operations
    Using async/await in WinRT async operations
    AvatarStephen Toub - MSFTJune 14, 2012Jun 14, 201206/14/12
    Several weeks ago, I wrote a post for the Windows 8 app developer blog that was all about using await and AsTask to consume WinRT async operations.  I've now published a follow-up post that's all about exposing .NET tasks as WinRT async operation.  In a sense, you can think about the first post as showing how to convert from ...

    Comments are closed.0.NET 4.5Async
    Performance consideration for Async/Await and MarshalByRefObject
    Performance consideration for Async/Await and MarshalByRefObject
    AvatarStephen Toub - MSFTMay 31, 2012May 31, 201205/31/12
    In the previous "What's New for Parallelism in Visual Studio 2012 RC" blog post, I mentioned briefly that for the .NET 4.5 Release Candidate, StreamReader.ReadLineAsync experienced a significant performance improvement over Beta.  There's an intriguing story behind that, one I thought I'd share here.It has to do with some interesting...

    Comments are closed.0.NET 4.5Async
    What’s New for Parallelism in Visual Studio 2012 RC
    What’s New for Parallelism in Visual Studio 2012 RC
    AvatarStephen Toub - MSFTMay 31, 2012May 31, 201205/31/12
    In September, I blogged about what was new for parallelism and asynchrony in the Visual Studio 2012 Developer Preview, and in February I followed that up with a post on what was new in the Beta.  Now that Visual Studio 2012 Release Candidate is out, I want to share a few thoughts on what’s new in the Release Candidate.Most new ...

    Comments are closed.0.NET 4.5Announcement
    ConcurrentQueue holding on to a few dequeued elements
    ConcurrentQueue holding on to a few dequeued elements
    AvatarStephen Toub - MSFTMay 8, 2012May 8, 201205/8/12
    Since .NET 4’s release, I’ve received several questions about a peculiar behavior of ConcurrentQueue<T> having to do with memory management.With Queue<T>, List<T>, and other such data structures in the .NET Framework, when you remove an element from the collection, the collection internally wipes out its reference...

    Comments are closed.0.NET 4.NET 4.5
    Async Targeting Pack for Visual Studio 11 now available for .NET 4 and Silverlight 5
    Async Targeting Pack for Visual Studio 11 now available for .NET 4 and Silverlight 5
    AvatarStephen Toub - MSFTApril 26, 2012Apr 26, 201204/26/12
    We’re happy to announce that you can now download an Async Targeting Pack for Visual Studio 11 that lets you target .NET 4 and Silverlight 5.  The included DLLs address the previously discussed issue of the Visual Studio 11 Beta compilers being incompatible with the AsyncCtpLibrary* DLLs from the Async CTP; with this targeting pack...

    Comments are closed.0.NET 4.NET 4.5
    Using await with WinRT async operations
    Using await with WinRT async operations
    AvatarStephen Toub - MSFTApril 24, 2012Apr 24, 201204/24/12
    Over on the Windows 8 app developer blog, I've written a blog post about using await with WinRT.  I hope you enjoy it...

    Comments are closed.0.NET 4.5Async
    Should I expose synchronous wrappers for asynchronous methods?
    Should I expose synchronous wrappers for asynchronous methods?
    AvatarStephen Toub - MSFTApril 13, 2012Apr 13, 201204/13/12
    In a previous post Should I expose asynchronous wrappers for synchronous methods?, I discussed “async over sync,” the notion of using synchronous functionality asynchronously and the benefits that doing so may or may not yield. The other direction of “sync over async” is also interesting to explore. Avoid Exposing ...

    3.NET 4.NET 4.5
    Async/Await FAQ
    Async/Await FAQ
    AvatarStephen Toub - MSFTApril 12, 2012Apr 12, 201204/12/12
    From time to time, I receive questions from developers which highlight either a need for more information about the new “async” and “await” keywords in C# and Visual Basic. I’ve been cataloguing these questions, and I thought I’d take this opportunity to share my answers to them.Conceptual OverviewWhere can ...

    12.NET 4.5Async
    • Previous page
    • Page 1
    • Page 2
    • Page 3
    • Page 4
    • …
    • Page 22
    • Next page
    Relevant Links

    corefx repository on GitHub

    .NET

    Microsoft Azure

    Top Bloggers
    Archive
  • February 2015
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • June 2011
  • May 2011
  • April 2011
  • February 2011
  • January 2011
  • November 2010
  • October 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • Stay informed

    Login
    Code Block
    What's new
    • Surface Duo
    • Surface Laptop Go
    • Surface Pro X
    • Surface Go 2
    • Surface Book 3
    • Microsoft 365
    • Windows 10 apps
    • HoloLens 2
    Microsoft Store
    • Account profile
    • Download Center
    • Microsoft Store support
    • Returns
    • Order tracking
    • Virtual workshops and training
    • Microsoft Store Promise
    • Financing
    Education
    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education
    Enterprise
    • Azure
    • AppSource
    • Automotive
    • Government
    • Healthcare
    • Manufacturing
    • Financial services
    • Retail
    Developer
    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Center
    • Microsoft developer program
    • Channel 9
    • Microsoft 365 Dev Center
    • Microsoft 365 Developer Program
    • Microsoft Garage
    Company
    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2021