Showing results for April 2012 - .NET Blog

Apr 26, 2012
0
0

Async Targeting Pack for Visual Studio 11 now available for .NET 4 and Silverlight 5

Stephen Toub - MSFT
Stephen Toub - MSFT

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, you ...

.NET Parallel Programming
Apr 24, 2012
0
0

Using await with WinRT async operations

Stephen Toub - MSFT
Stephen Toub - MSFT

Over on the Windows 8 app developer blog, I've written a blog post about using await with WinRT.  I hope you enjoy it!

.NET Parallel Programming
Apr 17, 2012
0
0

.NET for Metro style apps

Brandon Bray
Brandon Bray

.NET is now a core part of several Microsoft platforms, and each has focused on specific subset of APIs. A lot of thought has been put into crafting each API surface area. Many of you have asked how the .NET APIs available for Metro style apps were chosen. In the following post, Immo Landwerth – a program manager on the CLR’s Core Framework team – ...

.NET
Apr 13, 2012
3
6

Should I expose synchronous wrappers for asynchronous methods?

Stephen Toub - MSFT
Stephen Toub - MSFT

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 Synchrono...

.NET Parallel Programming
Apr 12, 2012
12
1

Async/Await FAQ

Stephen Toub - MSFT
Stephen Toub - MSFT

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 Overviewhttps://msdn.co...

.NET Parallel Programming
Apr 12, 2012
0
0

Are deadlocks still possible with await?

Stephen Toub - MSFT
Stephen Toub - MSFT

Developers familiar with parallel programming are also familiar with a wide range of potential problems that can occur when practicing the art.  One of the most well-known issues is “deadlock,” where two or more operations are waiting on each other to complete in a manner such that none of them will be able to complete.I’ve r...

.NET Parallel Programming
Apr 6, 2012
0
0

Overriding Stream Asynchrony

Stephen Toub - MSFT
Stephen Toub - MSFT

In .NET 4.5 Beta, the Stream class provides multiple virtual methods related to reading and writing: As a developer deriving from Stream, it’s helpful to understand what the base implementations do and when you can and should override them.Read, Write, FlushThe Read, Write, and Flush methods are the core synchronous mechanisms...

.NET Parallel Programming
Apr 6, 2012
0
0

April 2012 Update for Visual Studio 11 Beta

Web Development Tools Microsoft
Web Development Tools Microsoft

April 2012 Update for Visual Studio 11 Beta is available.    For Visual Studio 11 Beta Ultimate, You can install it through Tools->Extension Manager:   For Visual Studio 11 Express Beta for Web, you can download it directly and install: April 2012 Update for Microsoft Visual Studio 11 Beta.  Due to a known issue, i...

ASP.NET
Apr 3, 2012
0
1

Async in 4.5: Worth the Await

Brandon Bray
Brandon Bray

Developers often ask for guidance on how to write responsive user interfaces. Reading most books about the .NET Framework over the past ten years, you’ll see coverage of the asynchronous programming model which requires a lot of careful attention while coding. That’s why the async features in the latest versions of C# and Visual Basic are tremendou...

.NET