.NET Blog

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

.NET Core Workers in Azure Container Instances

In .NET Core 3.0 we are introducing a new type of application template called Worker Service. This template is intended to give you a starting point for writing long running services in .NET Core. In this walkthrough you'll learn how to use a Worker with Azure Container Registry anAzure Container Instances to get your Worker running as a microservice in the cloud.

.NET Core April 2019 Updates – 2.1.10 and 2.2.4

Today, we are releasing the .NET Core April 2019 Update. These updates contain security and reliability fixes. See the individual release notes for details on included fixes. Security Microsoft Security Advisory CVE-2019-0815: ASP.NET Core Denial of Service Vulnerability A denial of service vulnerability exists in ASP.NET Core 2...

A portable way to get GC events in process and no admin privilege with 10 lines of code (and ability to dynamically enable/disable events)

I’ve been talking about doing managed heap performance analysis with ETW events for ages because ETW is just such a powerful tool. It has a well defined format so many components, from kernel modes to user mode ones, all emit ETW events which means you can have tools that just know how to parse the event format and correlate them. At ...

Announcing ML.NET 1.0 RC – Machine Learning for .NET

(image) ML.NET is an open-source and cross-platform machine learning framework (Windows, Linux, macOS) for .NET developers. Using ML.NET, developers can leverage their existing tools and skillsets to develop and infuse custom AI into their applications by creating custom machine learning models for common scenarios like Sentiment Analysis...

Web and Azure Tool Updates in Visual Studio 2019

Hopefully by now you’ve seen that [Visual Studio 2019 is now generally available][1]. As you would expect, we’ve added improvements for web and Azure development. As a starting point, Visual Studio 2019 comes with [a new experience for getting started with your code][2] and we updated the experience for creating ASP.NET and ASP.NET Core projects to match:

Making CPU configuration better for GC on machines with > 64 CPUs

If you are running Windows on a machine with > 64 CPUs, you’ll need to use this feature called the CPU groups for your process to be able to use more than 64 CPUs. At some point in the far distant past, people thought having more than 64 processors on a machine was inconceivable so they used a 64-bit number for the processor mask. And when ...

Visual Studio 2019 .NET productivity

Your friendly neighborhood .NET productivity team (aka. Roslyn) focuses a lot on improving the .NET coding experience. Sometimes it’s the little refactorings and code fixes that really improve your workflow. You may have seen many improvements in the previews, but for all of you who were eagerly awaiting the GA release here’s a few ...

Handling a new era in the Japanese calendar in .NET

Typically, calendar eras represent long time periods. In the Gregorian calendar, for example, the current era spans (as of this year) 2,019 years. In the Japanese calendar, however, a new era begins with the reign of a new emperor. On April 30, 2019, Emperor Akihito is expected to abdicate, which will bring to an end the Heisei era. On the ...