.NET Blog

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

Profile-guided optimization in .NET Core 2.0

This post was co-written by Daniel Podder and Bertrand Le Roy. .NET Core 2.0 introduces many new optimizations that will make your code even faster. A lot of work has been done in the base class library to improve performance, but in this post, we'd like to talk about a specific category of optimization: profile-guided optimization (or PGO...

Performance Improvements in RyuJIT in .NET Core and .NET Framework

RyuJIT is the just-in-time compiler used by .NET Core on x64 and now x86 and by the .NET Framework on x64 to compile MSIL bytecode to native machine code when a managed assembly executes. I'd like to point out some of the past year's improvements that have gone into RyuJIT, and how they make the generated code faster. What follows is by no...

Announcing EF Core 2.0 Preview 2

Today we are making Entity Framework Core 2.0 Preview 2 available. Entity Framework Core (EF Core) is a lightweight, extensible, and cross-platform version of Entity Framework. EF Core follows the same release cycle as .NET Core but can be used in multiple .NET platforms, including .NET Core 2.0 and .NET Framework 4.6.1 or newer. Installing ...

.NET Core 2 and Visual Studio 2017 (15.3) Preview 2

Visual Studio 2017 (15.3) Preview 2 was recently released which includes .NET Core 1.0 and 1.1, our latest production releases of .NET Core. You will need to install the .NET Core 2.0 Preview 1 SDK to develop .NET Core 2.0 applications using Visual Studio 2017 (15.3) Preview 2 . We are working on .NET Core 2.0 Preview 2 which will be ...

Performance Improvements in .NET Core

Update (2017/06/12): Added BenchmarkDotNet blog post link. There are many exciting aspects to .NET Core (open source, cross platform, x-copy deployable, etc.) that have been covered in posts on this blog before. To me, though, one of the most exciting aspects of .NET Core is performance. There's been a lot of discussion about the ...

Announcing EF Core 2.0 Preview 1

This week we made Entity Framework Core 2.0 Preview 1 available. Entity Framework Core (EF Core) is a lightweight, extensible, and cross-platform version of Entity Framework. EF Core follows the same release cycle as .NET Core but can be used in multiple .NET platforms, including .NET Core 2.0 and .NET Framework 4.6 or newer. Installing or ...

.NET Core Image Processing

Image processing, and in particular image resizing, is a common requirement for web applications. As such, I wanted to paint a panorama of the options that exist for .NET Core to process images. For each option, I'll give a code sample for image resizing, and I'll outline interesting features. I'll conclude with a comparison of the performance...

December 2016 Update for .NET Core 1.0

Today, we are releasing a new set of reliability and quality updates for .NET Core 1.0. This month's update is our second Long Term Support (LTS) update and includes updated versions of multiple packages in .NET Core, ASP.NET Core and Entity Framework Core. We recommend everyone on the 1.0.* LTS track move to this update immediately. How to ...

Updating Visual Studio 2017 RC – .NET Core Tooling improvements

This post was co-authored by Joe Morris, a Senior Program Manager on the .NET Team and David Carmona, a Principal Program Manager Lead on the .NET Team. Today, an update to Visual Studio 2017 RC was announced. As part of this update, we have made several enhancements and bug fixes to the .NET Core tools that are part of Visual Studio 2017. ...