Skip to main content AI All .NET posts .NET MAUI ASP.NET Core Blazor Entity Framework C++ C# F# TypeScript NuGet Servicing .NET Blog in Chinese Microsoft for Developers Agent Framework Develop from the cloud Xcode ISE Developer TypeScript PowerShell Python Java Java Blog in Chinese Go Microsoft Edge Dev Microsoft 365 Developer Microsoft Entra Identity Developer Microsoft Entra PowerShell Visual Studio Visual Studio Code Aspire All things Azure Azure SDK Azure VM Runtime Team Microsoft Azure Azure Cosmos DB Azure DocumentDB Azure Data Studio Azure SQL DevOps DirectX Microsoft Foundry Power Platform OData Unified Data Model (IDEAs) Windows Command Line #ifdef Windows Inside MSIX MIDI and music React Native The Old New Thing Windows Developer

Showing archive results for January 2012

Jan 31, 2012
Post comments count0
Post likes count0

KB2650605 QFE : VS2010 sp1 VB web form editor may not become editable during debugging

Web Development Tools Microsoft

We recently released a VS2010 sp1 QFE KB2650605 to solve a VB editor debugging problem.  During VB web form debugging, VB web form may become un-editable if there are server tags inside.  If you develop and debug VB web forms, you might be interested to download this QFE. http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails...

ASP.NET
Jan 23, 2012
Post comments count2
Post likes count0

Advanced APM Consumption in Async Methods

Stephen Toub - MSFT

I’ve previously blogged about how to expose existing Asynchronous Programming Model (APM) implementations as Task-based methods.  This can be done manually using a TaskCompletionSource<TResult>, or it can be done using the built-in wrapper provided in TPL via the Task.Factory.FromAsync method.  By creating a Task-based wrapper...

.NET Parallel Programming
Jan 21, 2012
Post comments count0
Post likes count0

Await, SynchronizationContext, and Console Apps: Part 2

Stephen Toub - MSFT

Yesterday, I blogged about how you can implement a custom SynchronizationContext in order to pump the continuations used by async methods so that they may be processed on a single, dedicated thread.  I also highlighted that this is basically what UI frameworks like Windows Forms and Windows Presentation Foundation do with their message pumps.N...

.NET Parallel Programming
Jan 20, 2012
Post comments count0
Post likes count0

Implementing a SynchronizationContext.SendAsync method

Stephen Toub - MSFT

I recently saw two unrelated questions, the answers to which combine to form a potentially useful code snippet.The first question was about SynchronizationContext.  SynchronizationContext provides a Post method, which asynchronously schedules the supplied delegate and object state to be executed according to the SynchronizationContext’s ...

.NET Parallel Programming
Jan 20, 2012
Post comments count4
Post likes count4

Await, SynchronizationContext, and Console Apps

Stephen Toub - MSFT

When I discuss the new async language features of C# and Visual Basic, one of the attributes I ascribe to the await keyword is that it “tries to bring you back to where you were.” For example, if you use await on the UI thread of your WPF application, the code that comes after the await completes should run back on that same UI thread. ...

.NET Parallel Programming
Jan 14, 2012
Post comments count0
Post likes count0

FAQ on Task.Start

Stephen Toub - MSFT

Recently I’ve heard a number of folks asking about Task.Start, when and when not to use it, how it behaves,and so forth.  I thought I’d answer some of those questions here in an attempt to clarify and put to rest any misconceptions about what it is and what it does.1. Question: When can I use Task.Start?The Start instance method ma...

.NET Parallel Programming
Your Privacy Choices Your Privacy Choices
Consumer Health Privacy Sitemap Contact Microsoft Privacy Manage cookies Terms of use Trademarks Safety & eco Recycling About our ads
Morty Proxy This is a proxified and sanitized view of the page, visit original site.