.NET Blog

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

Featured posts

.NET Aspire 9.3 is here and enhanced with GitHub Copilot!
May 19, 2025
Post comments count 0
Post likes count 5

.NET Aspire 9.3 is here and enhanced with GitHub Copilot!

Jeffrey T. Fritz
Jeffrey T. Fritz

.NET Aspire 9.3 is the biggest release of .NET Aspire yet, with the introduction of GitHub Copilot directly into the .NET Aspire Dashboard, updates for integrat...

.NETASP.NET CoreC#

Latest posts

Work flow of diagnosing memory performance issues – Part 1
Apr 12, 2020
Post comments count 1
Post likes count 0

Work flow of diagnosing memory performance issues – Part 1

maoni
maoni

Work flow of diagnosing memory performance issues – Part 0 Work flow of diagnosing memory performance issues – Part 1 (this post) Work flow of diagnosing memory performance issues – Part 2 In this blog post I’ll talk a bit about contributing to PerfView and then continue with the GCStats analysis. You can skip to the analysis part directly if you like. One of the frustrating things for me when it comes to tooling is there are a lot of memory perf tools out there but very few are targeting the common types of customers I normally work with. Every tool does the basics; very few do intermediate and ...

Work flow of diagnosing memory performance issues – Part 0
Apr 5, 2020
Post comments count 9
Post likes count 0

Work flow of diagnosing memory performance issues – Part 0

maoni
maoni

Work flow of diagnosing memory performance issues – Part 0 (this post) Work flow of diagnosing memory performance issues – Part 1 Work flow of diagnosing memory performance issues – Part 2 I wanted to describe what I do to diagnose memory perf issues, or rather the common part of various work flows of doing such diagnostics. Diagnosing performance issues can take many forms because there’s no fixed steps you follow. But I’ll try to break it down into basic blocks that get invoked for a variety of diagnostics. This part is for beginners so if you've been doing memory perf analysis for a while you...

Regex Performance Improvements in .NET 5
Apr 2, 2020
Post comments count 31
Post likes count 0

Regex Performance Improvements in .NET 5

Stephen Toub - MSFT
Stephen Toub - MSFT

For .NET 5, we’ve invested in some significant improvements to the Regex engine. On many of the expressions we’ve tried, these changes routinely result in throughput improvements of 3-6x, and in some cases, much more. In this post, I’ll walk through some of the myriad of changes that have gone into System.Text.RegularExpressions in .NET 5.

Announcing Entity Framework Core 5.0 Preview 2
Apr 2, 2020
Post comments count 9
Post likes count 0

Announcing Entity Framework Core 5.0 Preview 2

Jeremy Likness
Jeremy Likness

Today we are excited to announce the second preview release of EF Core 5.0. Improvements include support for C# attributes to specify a backing field, complete discriminator mapping, and performance improvements with SQLite.

ASP.NET Core updates in .NET 5 Preview 2
Apr 2, 2020
Post comments count 0
Post likes count 0

ASP.NET Core updates in .NET 5 Preview 2

Sourabh Shirhatti [MSFT]
Sourabh Shirhatti [MSFT]

.NET 5 Preview2 is now available and is ready for evaluation! .NET 5 will be a current release. Get started To get started with ASP.NET Core in .NET 5.0 Preview2 install the .NET 5.0 SDK. If you're on Windows using Visual Studio, we recommend installing the latest preview of Visual Studio 2019 16.6. If you're on macOS, we recommend installing the latest preview of Visual Studio 2019 for Mac 8.6. Upgrade an existing project To upgrade an existing ASP.NET Core 5.0 preview1 app to ASP.NET Core 5.0 preview2: See the full list of breaking changes in ASP.NET Core 5.0. That’s it! You should now be...

Announcing .NET 5.0 Preview 2
Apr 2, 2020
Post comments count 38
Post likes count 0

Announcing .NET 5.0 Preview 2

Rich Lander [MSFT]
Rich Lander [MSFT]

Today, we're releasing .NET 5.0 Preview 2. It contains a set of smaller features and performance improvements. We're continuing to work on the bigger features that will define the 5.0 release, some of which are starting to show up as initial designs at dotnet/designs. The .NET 5.0 Preview 1 post covers what we are planning on building for .NET 5.0. Please take a look at the post and the designs repository and share any feedback you have. And, of course, please install Preview 2, and test any workloads you can with it. You can download .NET 5.0 Preview 2, for Windows, macOS, and Linux: ASP.NET Core and EF ...

.NET for Apache® Spark™ In-Memory DataFrame Support
Mar 30, 2020
Post comments count 7
Post likes count 1

.NET for Apache® Spark™ In-Memory DataFrame Support

Brigit Murtaugh
Brigit Murtaugh

.NET for Apache Spark is aimed at making Apache® Spark™, and thus the exciting world of big data analytics, accessible to .NET developers. .NET for Spark can be used for processing batches of data, real-time streams, machine learning, and ad-hoc query. The DataFrame is one of the core data structures in Spark programming. A DataFrame is a distributed collection of data organized into named columns. In a Spark application, we typically start off by reading input data from a data source, storing it in a DataFrame, and then leveraging functionality like Spark SQL to transform and gain insights from our data. User...

Helping Customers Effectively
Mar 30, 2020
Post comments count 0
Post likes count 0

Helping Customers Effectively

maoni
maoni

I have to put a disclaimer here since this is not the usual type of blog posts I write. I’m by no means a master at communication. This is just what I thought that seemed to work well. YMMV of course. But I’d be very happy if they help you in some way ‘cause many of us work with customers. And I welcome your thoughts and suggestions. I have talked to customers a lot since I started working on the GC. This is in the context of helping customers to handle and resolve issues they are seeing. 1. The intention of helping should be genuine I am naturally the kind of person who wants to help with coming up with a s...

Balancing work on GC threads
Mar 28, 2020
Post comments count 1
Post likes count 0

Balancing work on GC threads

maoni
maoni

In Server GC, each GC thread will work on its heap in parallel (that's a simplistic view and is not necessarily true for all phases but on the high level it's exact the idea of a parallel GC). So that alone means work is already split between GC threads. But because GC work for some stages can only proceed after all threads are done with their last stage (for example, we can’t have any GC thread start with the plan phase until all GC threads are done with the mark phase so we don’t miss objects that should be marked), we want the amount of GC work balanced on each thread as much as possible so the total pause can...