.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 27

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

Nov 15, 2017
Post comments count 0
Post likes count 1

Welcome to C# 7.2 and Span

Mads Torgersen

C# 7.2 is the latest point release of C#, and adds a number of small but useful features. All the features are described in wonderful detail in the docs. Start with the overview, What's new in C# 7.2, which gives you an excellent introduction to the new set of capabilities. It is worth celebrating that a significant portion of the docs are community contributed, not least the material on the new access modifier. The dominant theme of C# 7.2 centers on improving expressiveness around working with structs by reference. This is important in particular for high performance scenarios, where structs help avoid the g...

Nov 14, 2017
Post comments count 0
Post likes count 0

.NET Core November 2017 Update

Rich Lander [MSFT]

Today, we are releasing the .NET Core November Update. This includes .NET Core 1.0.8, 1.1.5 and 2.0.1 and .NET Core SDK 1.1.5 and 2.0.3. Details regarding the security issues addressed by this release can be seen in the Security Advisory announcement. Security CVE-2017-8585 -- Malformed Certificate can cause Denial of Service Microsoft is releasing this security advisory to provide information about a vulnerability in the public versions of .NET Core 1.0 and 1.1, and 2.0. This advisory also provides guidance on what developers can do to update their applications correctly. Microsoft is aware of a security vulne...

Nov 14, 2017
Post comments count 0
Post likes count 0

.NET Framework November 2017 Security and Quality Rollup

Rich Lander [MSFT]

Today, we are releasing the November 2017 Security and Quality Rollup. Security This release contains no new security updates. The most recent .NET security updates were shipped with the September 2017 Security and Quality Rollup. Quality and Reliability This release contains the following quality and reliability improvements. CLR WPF Note: Additional information on these improvements is not available. The VSTS bug number provided with each improvement is a unique ID that you can give Microsoft Customer Support, include in StackOverflow commentsor use in web searches. Security Compliance Guidan...

Nov 9, 2017
Post comments count 0
Post likes count 0

Creating a Minimal ASP.NET Core Windows Container

Jeffrey Fritz

This is a guest post by Mike Rousos One of the benefits of containers is their small size, which allows them to be more quickly deployed and more efficiently packed onto a host than virtual machines could be. This post highlights some recent advances in Windows container technology and .NET Core technology that allow ASP.NET Core Windows Docker images to be reduced in size dramatically. Before we dive in, it's worth reflecting on whether Docker image size even matters. Remember, Docker images are built by a series of read-only layers. When using multiple images on a single host, common layers will be shared, so m...

Nov 1, 2017
Post comments count 0
Post likes count 0

Modernize existing .NET apps with Windows Containers and Azure

Cesar De la Torre

As part of the series of posts announced at this initial blog post (.NET Application Architecture Guidance) that explores each of the architecture areas currently covered by our team, this current blog post focuses on introducing the new "Modernize existing .NET applications with Windows Containers and Azure" eBook which you can download here. Just as a reminder, the four introductory blog posts of these series are shown in the links at the right of the page, under the .NET Application Architecture section.  Modernize and lift and shift existing .NET apps There are many reasons why you would want to moderniz...

Nov 1, 2017
Post comments count 0
Post likes count 0

Publishing a Web App to an Azure VM from Visual Studio

Justin Clareburt (MSFT)

We know virtual machines (VMs) are one of the most popular places to run apps in Azure, but publishing to a VM from Visual Studio has been a tricky experience for some. So, we’re pleased to announce that in Visual Studio 15.5 we’ve added some improvements to the experience. In this post, we’ll discussed the requirements for a VM that’s ready to run an ASP.NET web application, and then walk through how to publish to it from Visual Studio. If you have a minute to answer two questions about your interest in VMs, we’d appreciate it! Create a new VM on Azure Click the button below to deploy this custom Azure Resour...

Oct 31, 2017
Post comments count 1
Post likes count 0

Introducing API Analyzer

Immo Landwerth

This post was written by Olia Gavrysh. Have you ever wondered which APIs are deprecated and which should you use instead? Or have you ever used an API and then found out it didn't work on Mac or Linux? Have that ever happened to you too late when a major part of your code is already implemented and refactoring is way too hard? Both of these problems can be avoided with the new API Analyzer, which allows you to get live feedback on API usage and warns about potential compatibility issues and calls to deprecated APIs. TL;DR You can now have a virtual API expert! API Analyzer is a Roslyn analyzer that comes as ...

Oct 31, 2017
Post comments count 0
Post likes count 0

Welcome to C# 7.1

Mads Torgersen

With C# we have always tended towards major releases: bundle a lot of features up, and release less frequently. We even went so far as routinely omitting the traditional ".0" when we talked about C# 6.0! In the C# 7.0 "wave" we are trying something new. Tools such as Visual Studio upgrade on a frequent cadence, and there's no longer a technical reason why C# couldn't also be updated more frequently. So this time around we are embracing a notion of "point releases"; minor versions of C# that trickle out useful but smaller language features with shorter intervals. This means that you don't have to wait so long f...

Oct 30, 2017
Post comments count 0
Post likes count 0

Moving to real time test discovery in Test Explorer

KendraHavens

Real time test discovery is a new Visual Studio feature that uses a Roslyn analyzer to discover tests and populate the test explorer in real time without requiring you to build your project. This feature has been introduced in Visual Studio 2017 15.5 Preview 2 behind a feature flag. You can try it out by using the instructions in the next section. This not only makes test discovery significantly faster, it also keeps the test explorer in sync with code changes such as adding or removing tests. Since real time discovery is powered by the Roslyn compiler it is only available for C# and Visual Basic projects. How mu...