.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Latest posts
ConfigureAwait FAQ
.NET added / to the languages and libraries over seven years ago. In that time, it's caught on like wildfire, not only across the .NET ecosystem, but also being replicated in a myriad of other languages and frameworks. It's also seen a ton of improvements in .NET, in terms of additional language constructs that utilize asynchrony, APIs offering async support, and fundamental improvements in the infrastructure that makes / tick (in particular performance and diagnostic-enabling improvements in .NET Core). However, one aspect of / that continues to draw questions is . In this post, I hope to answer many of them. I...
An Introduction to System.Threading.Channels
"Producer/consumer" problems are everywhere, in all facets of our lives. A line cook at a fast food restaurant, slicing tomatoes that are handed off to another cook to assemble a burger, which is handed off to a register worker to fulfill your order, which you happily gobble down. Postal drivers delivering mail all along their routes, and you either seeing a truck arrive and going out to the mailbox to retrieve your deliveries or just checking later in the day when you get home from work. An airline employee offloading suitcases from a cargo hold of a jetliner, placing them onto a conveyer belt, where they're shu...
.NET Framework December 2019 Security and Quality Rollup
Today, we are releasing the December 2019 Security and Quality Rollup Updates for .NET Framework. Security No new security fixes. See September 2019 Security and Quality Rollup for the latest security updates. Quality and Reliability This release contains the following quality and reliability improvements. ASP.NET CLR1 WPF2 1 Common Language Runtime (CLR) 2 Windows Presentation Foundation (WPF) Known Issues in this update There are no known issues with this update. This update includes improvements to resolve a known issue discussed in October Preview of Quality Rollup that occurs after ap...
We made Windows Server Core container images >40% smaller
Over the past year, we've been working with the Windows Server team to make Windows Server Core container images a lot smaller. They are now >40% smaller! The Windows Server team has already published the new images in the Server Core Insider Docker repo, and will eventually publish them to their stable repo with their 20H1 release. You can check them out for yourself. I'll tell you how we did it and what you need to know to take advantage of the improvements. Let's start with the numbers: These measurements are based on images in the Windows Server Core insiders Docker repo. We used PowerShell as a proxy ...
GC Perf Infrastructure – Part 1
We open sourced our new GC Perf Infrastructure! It’s now part of the dotnet performance repo. I’ve been meaning to write about it ‘cause some curious minds had been asking when they could use it after I blogged about it last time but didn’t get around to it till now. First of all, let me point out that the target audience of this infra, aside from the obvious (ie, those who make performance changes to the GC), are folks need to do in-depth analysis of GC/managed memory performance and/or to build automation around it. So it assumes you already have a fair amount of knowledge what to look for with the analysis. ...
.NET Core 2.2 will reach End of Life on December 23, 2019
.NET Core 2.2 was released on December 4, 2018. As a non-LTS ("Current") release, it is supported for three months after the next release. .NET Core 3.0 was released on September 23, 2019. As a result, .NET Core 2.2 is supported until December 23, 2019. After that time, .NET Core patch updates will no longer include updated packages of container images for .NET Core 2.2. You should plan your upgrade from .NET Core 2.2 now. .NET Core 3.1 released December 3, 2019 as a Long-term support release. As a result, .NET Core 3.0, released September 23, 2019 is supported until March 23, 2020. Upgrade to .NET Core 3.1 T...
Updates to .NET Core Windows Forms designer in Visual Studio 16.5 Preview 1
We are happy to announce the new preview version of the .NET Core Windows Forms designer, which is available with the Visual Studio 16.5 Preview 1. The big news is that the designer is now part of Visual Studio! This means that installing the .NET Core Windows Forms designer from a separate VSIX is no longer needed! To use the designer: If you haven't enabled the Windows Forms designer, you might notice a yellow bar in the upper part of your Visual Studio Preview suggesting you to enable it: Selecting the Enable link takes you to the same place in Tools > Options > Environment ...
Announcing Entity Framework Core 3.1 and Entity Framework 6.4
Announcing Entity Framework Core 3.1 and Entity Framework 6.4 We are excited to announce the general availability of EF Core 3.1 and EF 6.4 on nuget.org. The final versions of .NET Core 3.1 and ASP.NET Core 3.1 are also available now. How to get EF Core 3.1 EF Core 3.1 is distributed exclusively as a set of NuGet packages. For example, to add the SQL Server provider to your project, you can use the following command using the dotnet tool: When upgrading applications that target older versions of ASP.NET Core to 3.1, you may also have to add the EF Core packages as an explicit dependency. Starting in 3.0 a...
ASP.NET Core updates in .NET Core 3.1
NET Core 3.1 is now available! Check out what's new in ASP.NET Core in this release.