.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

Mar 5, 2012
Post comments count 0
Post likes count 0

Update 4.0.3 for the Microsoft .NET Framework 4

Layla Driscoll

Update (2017): See .NET Framework Releases to learn about newer releases. This release is no longer supported. We continue to bring certain features through updates to .NET 4 without having to wait for the .NET 4.5 release. This post covers what the latest platform update has to offer. Vivek Mishra from the .NET Servicing team authored the following. – Layla Update 4.0.3 for the Microsoft .NET Framework 4 is now available for download. This is the third platform update that offers new features on top of the initial release for the .NET Framework 4. You can learn about earlier platform updates via the following l...

Mar 5, 2012
Post comments count 0
Post likes count 0

Visual Studio 11 Beta Page Inspector Tutorial live in asp.net

Web Development Tools Microsoft

Using Page Inspector In Visual Studio 11 Beta, you can see what elements in the source files (including server-side code) have produced the HTML markup that is rendered to the browser. Page Inspector also let you modify CSS properties and DOM element attributes and see the changes reflected immediately in the browser.  We have two tutorials live in www.asp.net .  Use it and let us know what you think.  We hope you like it. http://www.asp.net/web-forms/tutorials/aspnet-45/using-page-inspector-in-a-visual-studio-11-beta-web-forms-projecthttp://www.asp.net/mvc/tutorials/mvc-4/using-page-inspector-in-a...

Mar 4, 2012
Post comments count 0
Post likes count 1

Implementing a simple ForEachAsync

Stephen Toub - MSFT

Jon Skeet recently asked me how I might go about implementing the following “asynchronous ForEach” behavior: Given what we now know about SemaphoreSlim from my previous post, here’s one way to achieve this: public static Task ForEachAsync<TSource, TResult>(     this IEnumerable<TSource> source,     Func<TSource, Task<TResult>> taskSelector, Action<TSource, TResult> resultProcessor) {     var oneAtATime = new SemaphoreSlim(initialCount:1, maxCount:1);     retur...

Mar 3, 2012
Post comments count 0
Post likes count 0

Visual Studio 11 Beta currently incompatible with AsyncCtpLibrary*.dll

Stephen Toub - MSFT

The C# and Visual Basic compilers implement support for async/await by generating code that utilizes some specific types in the underlying framework.  These types include the “awaiters” used to await things (like Tasks) as well as the “builders” used in handling the lifetime of an async method’s invocation. With the Async CTP that was released for Visual Studio 2010, all of this infrastructure was implemented in DLLs named AsyncCtpLibrary*.dll (e.g. AsyncCtpLibrary.dll, AsyncCtpLibrary_Silverlight5.dll, etc.)  In .NET 4.5, these types are all in mscorlib.dll.The particular ...

Mar 3, 2012
Post comments count 0
Post likes count 0

“The Zen of Async” at the MVP Summit 2012

Stephen Toub - MSFT

Thanks to everyone who attended my "The Zen of Async" presentation on Thursday at the MVP Summit.  As I've had several requests, here are the slides and code for the talk. Toub_MVPSummit2012_ZenOfAsync.zip

Mar 1, 2012
Post comments count 0
Post likes count 0

New time saving features for Web projects in Visual Studio 11 Beta

Web Development Tools Microsoft

In planning for the next release of Visual Studio, streamlining the development process was a high priority.  In this vein we are proud to announce two new features in Visual Studio 11 Beta that simplify and improve the development experience: setting the default browser from the toolbar, and quickly adding new items to your project from the context menu. Set Default Browser from the Toolbar While Visual Studio has always allowed you to change the default browser used for viewing pages and debugging via the Browse With dialog, it is now a simpler process with the new toolbar support. In the standard web to...

Feb 29, 2012
Post comments count 0
Post likes count 0

New Features for Web Development in Visual Studio 11 Beta

Web Development Tools Microsoft

Visual Studio 11 Beta is now available to download.  Please visit Jason Zander's Blog for the download links and overview of the new features. We have many enhanced many features in the Beta. We'll discuss some of them in future blog posts.Here are a few web development tools features included in the Visual Studio 11 Beta compared to VS2010.  Many of them have already been mentioned in our Visual Studio 11 Developer Preview blogs.  Here's more resources to help you start downloading and coding:· Visual Studio 11 Beta· http://www.asp.net/vnext, where you can learn all ...

Feb 29, 2012
Post comments count 0
Post likes count 0

What’s New for Parallelism in .NET 4.5 Beta

Stephen Toub - MSFT

At //BUILD/ in September, we blogged about the wealth of new support available for parallelism in the .NET Framework 4.5 Developer Preview.  Since then, we’ve been hard at work on the .NET 4.5 Beta.  With the beta just released, here are a few interesting and related things that are new or have changed since the Developer Preview related to parallelism and asynchrony. More Async Methods If you browse around the Framework you’ll find many more async method implementations than were there previously, many of which are themselves utilizing the async method support provided by the .NET 4.5 compi...

Feb 29, 2012
Post comments count 0
Post likes count 0

Introducing .NET Framework 4.5 Beta

Layla Driscoll

Update (2017): See .NET Framework releases to learn about newer releases. This release is no longer supported. In September, we released the .NET Framework 4.5 Developer Preview. The Developer Preview was essentially a “feature complete” release, enabling you to “kick the tires” and otherwise get a good sense of what we were in the process of building for you. Across the many downloads of the Developer Preview, we expect that many of you tried a broad range of developer activities with the new pre-release version of the product, such as: using the new .NET Framework 4.5 features, trying out Visual Studio 11 Deve...