.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Featured posts

Announcing .NET 11
Nov 10, 2026
Post comments count 4
Post likes count 25

Announcing .NET 11

.NET Team

.NET 11 is here with C# 15, faster developer tools, runtime and library improvements, and new capabilities for web, mobile, desktop, and AI apps.

.NETASP.NET CoreC#

Latest posts

Jul 20, 2012
Post comments count 1
Post likes count 0

The .NET Framework 4.5 includes new garbage collector enhancements for client and server apps

Brandon Bray

What makes managed code, “managed”? Most people would point to the garbage collector. Automatic memory management makes a tremendous difference in programmer productivity. And when garbage collection improves, all .NET applications benefit. Abhishek Mondal, the program manager for GC on the Common Language Runtime, and Maoni Stephens, the developer for GC on the CLR, authored this article. -- Brandon In this post, we will look at how the CLR garbage collector (GC) has been changed in the .NET Framework 4.5 to meet the needs of large client and server apps. These improvements are in response to requests from ...

Jul 12, 2012
Post comments count 0
Post likes count 0

Visual Studio 2012 RC Web Tooling Extensions update

Web Development Tools Microsoft

If you have been following our blog and twitter accounts then you most likely have heard that some of the Web components of Visual Studio 2012 are now “Out of Band”. What that means is that we can update those components separately from Visual Studio itself. Because of this we will be posting updates on a regular basis. Today marks the first of these updates, and its targeting Visual Studio 2012 RC. In this post I will describe how to get the update and then what the update contains. How to get the update If you already have Visual Studio 2012 RC installed when you launch VS you will see a notification in the t...

Jul 6, 2012
Post comments count 0
Post likes count 0

Targeting Multiple Platforms with Portable Code: Overview

Brandon Bray

As programming with .NET has become prevalent on all Microsoft platforms, targeting multiple platforms at once becomes a critical desire amongst developers. In fact, we see the future of library development moving to supporting an intersection of platforms rather than targeting just one version of the .NET Framework at a time. Mircea Trofin, a program manager from the .NET Core Framework team, wrote the following article to introduce how to do this. --Brandon In this post, we will look at how you can use Visual Studio to write portable class library assemblies that can run on multiple Microsoft platforms. You c...

Jun 26, 2012
Post comments count 0
Post likes count 0

New .NET Diagnostic info added to Process Explorer

Brandon Bray

Productivity is the hallmark of programming with managed code. So often productivity boils down to figuring out why something isn’t working – diagnostics. The CLR provides one of the best foundations for diagnostics. In this post, Richard Lander – a program manager for the Common Language Runtime – shows how more than just developers can now track down root causes for problems. -- Brandon In this post, we will look at a new feature in Process Explorer, the popular SysInternals tool, which enables developers and IT Pros to collect accurate stack traces for .NET applications. Adding .NET Stack frames to Proce...

Jun 19, 2012
Post comments count 0
Post likes count 0

NuGet 2.0 Released

Howard Dierking

We're happy to announce that we released NuGet 2.0 on 6/19/2012. This release includes support for grouping dependencies, tools and content by the target framework of the project. Additionally, we've dramatically improved the performance of tab completion in the package management console. Package restore consent is now active As described in an earlier post on package restore consent, NuGet 2.0 will now require that consent be given to enable package restore to go online to download packages. Please ensure that you have provided consent via either the package manager configuration dialog or the EnableNuGetPack...

Jun 15, 2012
Post comments count 0
Post likes count 0

Visual Studio 2010 Web Publish Updates

Web Development Tools Microsoft

Last week we rolled out some updates for our Visual Studio 2010 Web Publishing Experience. This post will give you an overview of the new features which we released. In the coming weeks there will be more posts getting into more details regarding individual features. You can get these updates in the Windows Azure SDK for Visual Studio 2010. When you download that package there you will also get the latest tools for Azure development. The new high level features include the following. Overview When you right click on your Web Application Project (WAP) you will now see the new pub...

Jun 15, 2012
Post comments count 4
Post likes count 20

ExecutionContext vs SynchronizationContext

Stephen Toub - MSFT

I’ve been asked a few times recently various questions about ExecutionContext and SynchronizationContext, for example what the differences are between them, what it means to “flow” them, and how they relate to the new async/await keywords in C# and Visual Basic.  I thought I’d try to tackle some of those questions here.WARNING: This post goes deep into an advanced area of .NET that most developers never need to think about.What is ExecutionContext, and what does it mean to flow it?ExecutionContext is one of those things that the vast majority of developers never need to think about.&n...

Jun 14, 2012
Post comments count 0
Post likes count 0

Using async/await in WinRT async operations

Stephen Toub - MSFT

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 WinRT async operations to .NET tasks, and you can think about the second post as showing how to convert from .NET tasks to WinRT async operations.  I hope you find them helpful.

Jun 14, 2012
Post comments count 0
Post likes count 0

ASP.NET providers and SQL Azure

Web Development Tools Microsoft

We have two sets of ASP.NET providers which currently exist; the ASP.NET SQL providers, and the ASP.NET Universal Providers. In VS 2010 the SQL providers were in only providers used for our project templates. In VS 2012 we have switched to using the Universal Providers. One of the drawbacks of the SQL providers is that it leverages DB objects of SQL server which are not available in SQL Azure. In our updated web publish experience we have an Update Database checkbox which can be used to incrementally publish the database to the destination database. In this case if the source connection string is used by the ASP...