.NET Blog

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

Announcing .NET Core 3.0 Preview 5

Today, we are announcing .NET Core 3.0 Preview 5. It includes a new Json serializer, support for publishing single file executables, an update to runtime roll-forward, and changes in the BCL. If you missed it, check out the improvements we released in .NET Core 3.0 Preview 4,

Introducing .NET 5

Today, we’re announcing that the next release after .NET Core 3.0 will be .NET 5. This will be the next big release in the .NET family.
There will be just one .NET going forward, and you will be able to use it to target Windows,

Using .NET and Docker Together – DockerCon 2019 Update

DockerCon 2019 is being held this week, in San Francisco. We posted a DockerCon 2018 update last year, and it is time to share how we’ve improved the experience of using .NET and Docker together over the last year.
We have a group of .NET Core team members attending the conference again this year.

Introducing .NET for Apache® Spark™ Preview

Today at Spark + AI summit we are excited to announce .NET for Apache Spark. Spark is a popular open source distributed processing engine for analytics over large data sets. Spark can be used for processing batches of data, real-time streams,

Upcoming Updates for .NET Framework 4.8

Upcoming Updates for .NET Framework 4.8
The .NET Framework 4.8 product release is now available. The .NET Framework 4.8 product will receive updates on the same cadence and the usual channels (Windows Update, WSUS, Catalog) as all .NET Framework and Windows cumulative updates.

Announcing Entity Framework Core 3.0 Preview 4

Today, we are making the fourth preview of Entity Framework Core 3.0 available on NuGet, alongside .NET Core 3.0 Preview 4 and ASP.NET Core 3.0 Preview 4. We encourage you to install this preview to test the new functionality and assess the impact of the included breaking changes.

Announcing .NET Core 3 Preview 4

Today, we are announcing .NET Core 3.0 Preview 4. It includes a chart control for Windows Forms, HTTP/2 support, GC updates to use less memory, support for CPU limits with Docker, the addition of PowerShell in .NET Core SDK Docker container images,

Announcing the .NET Framework 4.8

We are thrilled to announce the release of the .NET Framework 4.8 today. It’s included in the Windows 10 May 2019 Update. .NET Framework 4.8 is also available on Windows 7+ and Windows Server 2008 R2+.
You can install .NET 4.8 from our .NET Download site.

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

.NET Core 2.2.4 and .NET Core SDK 2.2.106 ( Download | Release Notes )
.NET Core 2.1.10 and .NET Core SDK 2.1.506 ( Download | Release Notes)

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.2 where,

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.

AI Machine Learning

Submit to the Applied F# Challenge!

This post was written by Lena Hall, a Senior Cloud Developer Advocate at Microsoft.
F# Software Foundation has recently announced their new initiative — Applied F# Challenge! We encourage you to participate and send your submissions about F# on Azure through the participation form.

Tell us your thoughts on ML.NET, an open source and cross-platform machine learning framework

ML.NET is an open source and cross-platform machine learning framework made for .NET developers. .NET developers can use their C# or F# skills to easily integrate custom machine learning into their web, mobile, desktop, gaming, or IoT applications without any prior expertise in developing or tuning machine learning models.

Announcing ML.NET 0.8 – Machine Learning for .NET

ML.NET is an open-source and cross-platform framework (Windows, Linux, macOS) which makes machine learning accessible for .NET developers.
ML.NET allows you to create and use machine learning models targeting scenarios to achieve common tasks such as sentiment analysis, issue classification, forecasting,

Announcing ML.NET 0.7 (Machine Learning .NET)

We’re excited to announce today the release of ML.NET 0.7 – the latest release of the cross-platform and open source machine learning framework for .NET developers (ML.NET 0.1 was released at //Build 2018). This release focuses on enabling better support for recommendation based ML tasks,

Using .NET Hardware Intrinsics API to accelerate machine learning scenarios

This week’s blog post is by Brian Lui, one of our summer interns on the .NET team, who’s been hard at work. Over to Brian:
Hello everyone! This summer I interned in the .NET team, working on ML.NET, an open-source machine learning platform which enables .NET developers to build and use machine learning models in their .NET applications.

Announcing ML.NET 0.6 (Machine Learning .NET)

Today we’re announcing our latest monthly release: ML.NET 0.6! ML.NET is a cross-platform, open source machine learning framework for .NET developers. We want to enable every .NET developer to train and use machine learning models in their applications and services. If you haven’t tried ML.NET yet,

Introducing Tensor for multi-dimensional Machine Learning and AI data

Overview
Tensor is an exchange type for homogenous multi-dimensional data for 1 to N dimensions. The motivation behind introducing Tensor<T> is to make it easy for Machine Learning library vendors like CNTK, Tensorflow, Caffe, Scikit-Learn to port their libraries over to .NET with minimal dependencies in place. 

ASP.NET

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

.NET Core 2.2.4 and .NET Core SDK 2.2.106 ( Download | Release Notes )
.NET Core 2.1.10 and .NET Core SDK 2.1.506 ( Download | Release Notes)

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.2 where,

Collecting .NET Core Linux Container CPU Traces from a Sidecar Container

It is challenging to collect performance traces of ASP.NET Core applications running inside Linux containers. This blog post describes an approach that use a sidecar container to collect CPU trace of an ASP.NET application running in a Linux container.

Calling All Desktop Developers: How do you interact with data?

Connecting to databases and services is an important part of desktop application development for many of our customers. Visual Studio provides a variety of tools and technologies that can help you connect to and interact with your different data sources. We’d love your help in shaping our future offerings in this space!

Build a web service with F# and .NET Core 2.0

Earlier this year, I wrote about an update to the roadmap for F# and .NET Core. I had mentioned that there were a number of things you could build with F# and .NET Core today, such as web services. In this post,

Get Started with F# as a C# developer

Get Started with F# as a C# developer
One of our previous posts, Why You Should Use F#, listed a few reasons why F# is worth trying out today. In this post, we’ll cover some of the basics you need to know to be successful.

Azure

Automating Release Notes with Azure Functions

We can all agree that tracking the progress of a project enhances productivity and is an effective way to keep everyone involved of its progress. When it comes to managing your project in Azure DevOps (formerly VSTS) or GitHub, you have all of your artifacts in one place: code,

C#

Create Interactive .NET Documentation with Try .NET

Try .NET is an interactive documentation generator for .NET Core. Using the dotnet try global tool you can now create interactive documentation too. This is an early preview of the dotnet try global tool so, please check our repository and NuGet package for regular updates.

Performance Improvements in .NET Core 3.0

Take a tour through some of the many improvements, big and small, that have gone into the .NET Core 3.0 runtime and core libraries to make apps and services leaner and faster.

Default implementations in interfaces

Default implementations in interfaces
With last week’s posts Announcing .NET Core 3.0 Preview 5 and Visual Studio 2019 version 16.1 Preview 3, the last major feature of C# 8.0 is now available in preview.
A big impediment to software evolution has been the fact that you couldn’t add new members to a public interface.

Announcing .NET Core 3.0 Preview 5

Today, we are announcing .NET Core 3.0 Preview 5. It includes a new Json serializer, support for publishing single file executables, an update to runtime roll-forward, and changes in the BCL. If you missed it, check out the improvements we released in .NET Core 3.0 Preview 4,

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 features you may enjoy!

An update to C# versions and C# tooling

Starting with Visual Studio 2019 Preview 4, we'll be adjusting how C# versions are treated in .NET tooling. Firstly, we're adding two new Language Version (LangVersion) values: LatestMajor and Preview. Rad the post to see how they stack up with the currently supported list of values.

Take C# 8.0 for a spin

Take C# 8.0 for a spin
Yesterday we announced the first preview of both Visual Studio 2019 (Making every developer more productive with Visual Studio 2019) and .NET Core 3.0 (Announcing .NET Core 3 Preview 1 and Open Sourcing Windows Desktop Frameworks).

Building C# 8.0

Building C# 8.0
The next major version of C# is C# 8.0. It’s been in the works for quite some time, even as we built and shipped the minor releases C# 7.1, 7.2 and 7.3, and I’m quite excited about the new capabilities it will bring.

Docker

Announcing .NET Core 3.0 Preview 5

Today, we are announcing .NET Core 3.0 Preview 5. It includes a new Json serializer, support for publishing single file executables, an update to runtime roll-forward, and changes in the BCL. If you missed it, check out the improvements we released in .NET Core 3.0 Preview 4,

Using .NET and Docker Together – DockerCon 2019 Update

DockerCon 2019 is being held this week, in San Francisco. We posted a DockerCon 2018 update last year, and it is time to share how we’ve improved the experience of using .NET and Docker together over the last year.
We have a group of .NET Core team members attending the conference again this year.

Entity Framework

Announcing Entity Framework 6.3 Preview with .NET Core Support

The first preview of the EF 6.3 runtime is now available in NuGet.
Note that the package is versioned as 6.3.0-preview5. We plan to continue releasing previews of EF 6.3 every month in alignment with the .NET Core 3.0 previews, until we ship the final version.

Announcing Entity Framework Core 3.0 Preview 4

Today, we are making the fourth preview of Entity Framework Core 3.0 available on NuGet, alongside .NET Core 3.0 Preview 4 and ASP.NET Core 3.0 Preview 4. We encourage you to install this preview to test the new functionality and assess the impact of the included breaking changes.

Announcing Entity Framework Core 2.2

Today we’re making the final version of EF Core 2.2 available, alongside ASP.NET Core 2.2 and .NET Core 2.2. This is the latest release of our open-source and cross-platform object-database mapping technology.
EF Core 2.2 RTM includes more than a hundred bug fixes and a few new features:
Spatial data support
Spatial data can be used to represent the physical location and shape of objects.

Announcing Entity Framework Core 2.2 Preview 3

Entity Framework Core 2.2 Preview 3 available with a new preview of our data provider for Cosmos DB and updated spatial extensions for various providers. Preview 3 is going to be the last milestone before EF Core 2.2 RTM, so now is your last chance to try the bits and give us feedback if you want to have an impact on the quality and the shape of the APIs in this release.

Announcing Entity Framework Core 2.2 Preview 2 and the preview of the Cosmos DB provider and spatial extensions for EF Core

Today we are making EF Core 2.2 Preview 2 available, together with a preview of our data provider for Cosmos DB and new spatial extensions for our SQL Server and in-memory providers.
Obtaining the preview
The preview bits are available on NuGet,

Announcing Entity Framework Core 2.1

Today we are excited to announce the release of Entity Framework (EF) Core 2.1. This is the latest production-ready release of our open-source and cross-platform data access technology. We are releasing today alongside .NET Core 2.1 and ASP.NET Core 2.1. EF Core 2.1 targets .NET Standard 2.0 and so also runs on .NET Core 2.0 and .NET Framework 4.6.1 or later.

Announcing Entity Framework Core 2.1 RC 1

Today, we are excited to announce that the first release candidate of EF Core 2.1 is available, alongside .NET Core 2.1 RC 1 and ASP.NET Core 2.1 RC 1, for broad testing, and now also for production use!
Go live support
EF Core 2.1 RC1 is a “go live”

Announcing Entity Framework Core 2.1 Preview 2

Today we’re releasing the second preview of EF Core 2.1, alongside .NET Core 2.1 Preview 2 and ASP.NET Core 2.1 Preview 2.
Thank you so much to everyone who has tried our early builds and has helped shape this release with their feedback and code contributions!

Announcing Entity Framework Core 2.1 Preview 1

Today we are releasing the first preview of EF Core 2.1, alongside .NET Core 2.1 Preview 1 and ASP.NET Core 2.1 Preview 1.
The new bits are available in NuGet as part of the individual packages, and as part of the ASP.NET Core meta-packages (both Microsoft.AspNetCore.All and the new Microsoft.AspNetCore.App),

Entity Framework Core 2.1 Roadmap

As mentioned in the announcement of the .NET Core 2.1 roadmap earlier today, at this point we know the overall shape of our next release and we have decided on a general schedule for it. As we approach the release of our first preview later this month,

F#

Announcing F# 4.6

We’re excited to announce general availability of F# 4.6 and the F# tools for Visual Studio 2019! In this post, I’ll show you how to get started, explain the F# 4.6 feature set, give you an update on the F# tools for Visual Studio,

Submit to the Applied F# Challenge!

This post was written by Lena Hall, a Senior Cloud Developer Advocate at Microsoft.
F# Software Foundation has recently announced their new initiative — Applied F# Challenge! We encourage you to participate and send your submissions about F# on Azure through the participation form.

Announcing F# 4.6 Preview

F# 4.6 is now fully released. See the announcement blog post for more.
We’re excited to announce that Visual Studio 2019 will ship a new version of F# when it releases: F# 4.6!
F# 4.6 is a smaller update to the F# language,

Announcing F# 4.5

Today, we’re incredibly pleased to announce general availability of F# 4.5.
This post will walk through the changes in F# 4.5 (just like the preview post), then show some updates to F# tooling, and finally talk a bit about where what we’re thinking about for the next F# version.

Announcing F# 4.5 Preview

Accounting for this change on Windows build servers: You may be doing one of the following things to install F# on a Windows build server. Installing the full Visual Studio IDE Installing the F# Compiler SDK MSI Neither of these options have been recommended for some time, but are still available with F# 4.1. For using F# 4.5 in a Windows build server, we recommend (in order of preference), Using the .NET SDK, the FSharp.Compiler.Tools package, or the Visual Studio Build Tools SKU.
Better async stack traces Starting with F# 4.5 and FSharp.Core 4.5.0, stack traces for async computation expressions: Reported line numbers now correspond to the failing user code Non-user code is no longer emitted For example, consider the following DSL and its usage with an FSharp.Core version prior to 4.5.0: Note that both the f1 and f2 functions are called twice.

F# language and tools update for Visual Studio 2017 version 15.7

We’re excited to share updates about changes to F# and F# tools which shipped with the Visual Studio 2017 version 15.7 release. Let’s dive in!
Type Providers now support .NET Standard
For those who aren’t familiar with Type Providers, they are a feature of F# which allow you to get IntelliSense for data.

F# language and tools update for Visual Studio 2017 version 15.6

With the release of Visual Studio 2017 version 15.6, we’re excited to share updates to the F# language and core library, F# tooling in Visual Studio, and infrastructure updates that concern OSS contributors. Let’s dive in!
F# language and core library updates
Some foundational changes for the F# language and core library have been made,

Announcing F# support for .NET Core and .NET Standard projects in Visual Studio

We’re pleased to announce that Visual Studio 2017 15.5 Preview 4 now supports F# projects targeting .NET Core, .NET Standard, and .NET Framework through the .NET Core SDK. Some of you have noticed various levels of this support in the first,

Build a web service with F# and .NET Core 2.0

Earlier this year, I wrote about an update to the roadmap for F# and .NET Core. I had mentioned that there were a number of things you could build with F# and .NET Core today, such as web services. In this post,

F# and .NET Core Roadmap Update

Now that .NET Core 2.0 has been released, we wanted to take some time to talk about F# and .NET Core.
F# and .NET Core 1.0
F# has been supported on .NET Core and .NET Standard since their 1.0 releases. In the months leading up to the release of .NET Core 1.0,

LOH

Large Object Heap Uncovered (an old MSDN article)

I wrote this article in 2008 and the MSDN website no longer has it so I am making it available here. Please note that it has been quite a while and some things related to LOH have changed quite a bit.

Machine Learning

Announcing F# 4.6

We’re excited to announce general availability of F# 4.6 and the F# tools for Visual Studio 2019! In this post, I’ll show you how to get started, explain the F# 4.6 feature set, give you an update on the F# tools for Visual Studio,

Submit to the Applied F# Challenge!

This post was written by Lena Hall, a Senior Cloud Developer Advocate at Microsoft.
F# Software Foundation has recently announced their new initiative — Applied F# Challenge! We encourage you to participate and send your submissions about F# on Azure through the participation form.

Announcing ML.NET 0.9 – Machine Learning for .NET

 

Announcing ML.NET 0.9 – Machine Learning for .NET

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.

Announcing ML.NET 0.6 (Machine Learning .NET)

Today we’re announcing our latest monthly release: ML.NET 0.6! ML.NET is a cross-platform, open source machine learning framework for .NET developers. We want to enable every .NET developer to train and use machine learning models in their applications and services. If you haven’t tried ML.NET yet,

Why you should use F#

Why you should use F#
This post was written by Phillip Carter and Mads Torgersen. Both work on languages on the .NET team.
At Build 2017, we presented a tech talk entitled “Why You Should Use F#”. However, not everyone can attend Build,

ML.NET

Submit to the Applied F# Challenge!

This post was written by Lena Hall, a Senior Cloud Developer Advocate at Microsoft.
F# Software Foundation has recently announced their new initiative — Applied F# Challenge! We encourage you to participate and send your submissions about F# on Azure through the participation form.

Announcing ML.NET 0.9 – Machine Learning for .NET

 

Announcing ML.NET 0.9 – Machine Learning for .NET

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.

Announcing ML.NET 0.7 (Machine Learning .NET)

We’re excited to announce today the release of ML.NET 0.7 – the latest release of the cross-platform and open source machine learning framework for .NET developers (ML.NET 0.1 was released at //Build 2018). This release focuses on enabling better support for recommendation based ML tasks,

Announcing ML.NET 0.6 (Machine Learning .NET)

Today we’re announcing our latest monthly release: ML.NET 0.6! ML.NET is a cross-platform, open source machine learning framework for .NET developers. We want to enable every .NET developer to train and use machine learning models in their applications and services. If you haven’t tried ML.NET yet,

Announcing ML.NET 0.4

A few months ago we released ML.NET 0.1 at //Build 2018., ML.NET is a cross-platform, open source machine learning framework for .NET developers. We’ve gotten great feedback so far and would like to thank the community for your engagement as we continue to develop ML.NET together in the open.

Introducing ML.NET: Cross-platform, Proven and Open Source Machine Learning Framework

Today at //Build 2018, we are excited to announce the preview of ML.NET, a cross-platform, open source machine learning framework. ML.NET will allow .NET developers to develop their own models and infuse custom ML into their applications without prior expertise in developing or tuning machine learning models.

.NET

Performance Improvements in .NET Core 3.0

Take a tour through some of the many improvements, big and small, that have gone into the .NET Core 3.0 runtime and core libraries to make apps and services leaner and faster.

Default implementations in interfaces

Default implementations in interfaces
With last week’s posts Announcing .NET Core 3.0 Preview 5 and Visual Studio 2019 version 16.1 Preview 3, the last major feature of C# 8.0 is now available in preview.
A big impediment to software evolution has been the fact that you couldn’t add new members to a public interface.

Introducing the new Microsoft.Data.SqlClient

This post was written by Vicky Harp, Program Manager on SqlClient and SQL Server Tools.
Those of you who have been following .NET development closely have very likely seen Scott Hunter’s latest blog post, .NET Core is the Future of .NET.

Announcing Entity Framework 6.3 Preview with .NET Core Support

The first preview of the EF 6.3 runtime is now available in NuGet.
Note that the package is versioned as 6.3.0-preview5. We plan to continue releasing previews of EF 6.3 every month in alignment with the .NET Core 3.0 previews, until we ship the final version.

Upcoming Updates for .NET Framework 4.8

Upcoming Updates for .NET Framework 4.8
The .NET Framework 4.8 product release is now available. The .NET Framework 4.8 product will receive updates on the same cadence and the usual channels (Windows Update, WSUS, Catalog) as all .NET Framework and Windows cumulative updates.

Announcing the .NET Framework 4.8

We are thrilled to announce the release of the .NET Framework 4.8 today. It’s included in the Windows 10 May 2019 Update. .NET Framework 4.8 is also available on Windows 7+ and Windows Server 2008 R2+.
You can install .NET 4.8 from our .NET Download site.

.NET Framework April 2, 2019 Cumulative Update for Windows 10 version 1809 and Windows Server 2019

Today, we released the March 2019 Update for Windows 10 version 1809 and Windows Server 2019.
Quality and Reliability
This release contains the following quality and reliability improvements.
CLR

Addresses an issue in which the Framework throws an exception if the year in the parsed date is greater than or equal to the start year of the next era.

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 features you may enjoy!

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,

Announcing F# 4.6

We’re excited to announce general availability of F# 4.6 and the F# tools for Visual Studio 2019! In this post, I’ll show you how to get started, explain the F# 4.6 feature set, give you an update on the F# tools for Visual Studio,

.NET Core

Create Interactive .NET Documentation with Try .NET

Try .NET is an interactive documentation generator for .NET Core. Using the dotnet try global tool you can now create interactive documentation too. This is an early preview of the dotnet try global tool so, please check our repository and NuGet package for regular updates.

Performance Improvements in .NET Core 3.0

Take a tour through some of the many improvements, big and small, that have gone into the .NET Core 3.0 runtime and core libraries to make apps and services leaner and faster.

Introducing the new Microsoft.Data.SqlClient

This post was written by Vicky Harp, Program Manager on SqlClient and SQL Server Tools.
Those of you who have been following .NET development closely have very likely seen Scott Hunter’s latest blog post, .NET Core is the Future of .NET.

Announcing Entity Framework 6.3 Preview with .NET Core Support

The first preview of the EF 6.3 runtime is now available in NuGet.
Note that the package is versioned as 6.3.0-preview5. We plan to continue releasing previews of EF 6.3 every month in alignment with the .NET Core 3.0 previews, until we ship the final version.

Introducing diagnostics improvements in .NET Core 3.0

In .NET Core 3.0, we are introducing a suite of tools that utilize new features in the .NET runtime that make it easier to diagnose and solve performance problems.
These runtime features help you answer some common diagnostic questions you may have:

Is my application healthy?

.NET Core is the Future of .NET 

We introduced .NET Core 1.0 on November 2014. The goal with .NET Core was to take the learning from our experience building, shipping and servicing .NET Framework over the previous 12 years and build a better product. Some examples of these improvements are side-by-side installations (you can install a new version and not worry about breaking existing apps),

Announcing .NET Core 3.0 Preview 5

Today, we are announcing .NET Core 3.0 Preview 5. It includes a new Json serializer, support for publishing single file executables, an update to runtime roll-forward, and changes in the BCL. If you missed it, check out the improvements we released in .NET Core 3.0 Preview 4,

Using .NET and Docker Together – DockerCon 2019 Update

DockerCon 2019 is being held this week, in San Francisco. We posted a DockerCon 2018 update last year, and it is time to share how we’ve improved the experience of using .NET and Docker together over the last year.
We have a group of .NET Core team members attending the conference again this year.

Announcing .NET Core 3 Preview 4

Today, we are announcing .NET Core 3.0 Preview 4. It includes a chart control for Windows Forms, HTTP/2 support, GC updates to use less memory, support for CPU limits with Docker, the addition of PowerShell in .NET Core SDK Docker container images,

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

.NET Core 2.2.4 and .NET Core SDK 2.2.106 ( Download | Release Notes )
.NET Core 2.1.10 and .NET Core SDK 2.1.506 ( Download | Release Notes)

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.2 where,

.NET Framework

.NET Framework May 2019 Security and Quality Rollup

Today, we are releasing the May 2019 Cumulative Update, Security and Quality Rollup, and Security Only Update.
Security
CVE-2019-0820 – Denial of Service Vulnerability
A denial of service vulnerability exists when .NET Framework and .NET Core improperly process RegEx strings. An attacker who successfully exploited this vulnerability could cause a denial of service against a .NET application.

Introducing the new Microsoft.Data.SqlClient

This post was written by Vicky Harp, Program Manager on SqlClient and SQL Server Tools.
Those of you who have been following .NET development closely have very likely seen Scott Hunter’s latest blog post, .NET Core is the Future of .NET.

.NET Core is the Future of .NET 

We introduced .NET Core 1.0 on November 2014. The goal with .NET Core was to take the learning from our experience building, shipping and servicing .NET Framework over the previous 12 years and build a better product. Some examples of these improvements are side-by-side installations (you can install a new version and not worry about breaking existing apps),

Upcoming Updates for .NET Framework 4.8

Upcoming Updates for .NET Framework 4.8
The .NET Framework 4.8 product release is now available. The .NET Framework 4.8 product will receive updates on the same cadence and the usual channels (Windows Update, WSUS, Catalog) as all .NET Framework and Windows cumulative updates.

Announcing the .NET Framework 4.8

We are thrilled to announce the release of the .NET Framework 4.8 today. It’s included in the Windows 10 May 2019 Update. .NET Framework 4.8 is also available on Windows 7+ and Windows Server 2008 R2+.
You can install .NET 4.8 from our .NET Download site.

.NET Framework April 2, 2019 Cumulative Update for Windows 10 version 1809 and Windows Server 2019

Today, we released the March 2019 Update for Windows 10 version 1809 and Windows Server 2019.
Quality and Reliability
This release contains the following quality and reliability improvements.
CLR

Addresses an issue in which the Framework throws an exception if the year in the parsed date is greater than or equal to the start year of the next era.

Migrating Delegate.BeginInvoke Calls for .NET Core

I recently worked with a couple customers migrating applications to .NET Core that had to make code changes to workaround BeginInvoke and EndInvoke methods on delegates not being supported on .NET Core. In this post, we’ll look at why these APIs aren’t implemented for .NET Core,

.NET Framework March 2019 Update

Today, we released the March 2019 Update.
Quality and Reliability
This release contains the following quality and reliability improvements.
CLR

Addresses an issue in which the Framework throws an exception if the year in the parsed date is greater than or equal to the start year of the next era.

.NET Framework March 1, 2019 Cumulative Update for Windows 10 version 1809 and Windows Server 2019

Today, March 1, we released the February 2019 Cumulative Update for Windows 10 version 1809 and Windows Server 2019. This release contains the following quality and reliability improvements.

How to port desktop applications to .NET Core 3.0

In this post, I will describe how to port a desktop application from .NET Framework to .NET Core. I picked a WinForms application as an example. Steps for WPF application are similar and I’ll describe what needs to be done different for WPF as we go.

Performance

Performance Improvements in .NET Core 3.0

Take a tour through some of the many improvements, big and small, that have gone into the .NET Core 3.0 runtime and core libraries to make apps and services leaner and faster.

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,

You Should Never See This Callstack in Production

A customer who just experienced some server outage asked us for help as they thought it was due to some very long GC pauses. I thought this diagnostics exercise might be useful for other folks as well so I am sharing it with you.

Middle Ground between Server and Workstation GC

A long time ago I wrote about using Workstation GC on server applications when you have many instances of your server app running on the same machine. By default Server GC will treat the process as owning the machine so it uses all CPUs to do the GC work.

GLAD is available

End of last year I mentioned we wanted to provide an API for you to really investigate GC/managed memory related performance called GLAD. Well, the source finally got opened source on github. So GLAD is available. The repo is called PerfView but you actually just need the TraceEvent project (but it’s much easier to just build the whole solution then add the reference to the resulting Microsoft.Diagnostics.Tracing.TraceEvent.dll).

Large Object Heap Uncovered (an old MSDN article)

I wrote this article in 2008 and the MSDN website no longer has it so I am making it available here. Please note that it has been quite a while and some things related to LOH have changed quite a bit.

Security

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

.NET Core 2.2.4 and .NET Core SDK 2.2.106 ( Download | Release Notes )
.NET Core 2.1.10 and .NET Core SDK 2.1.506 ( Download | Release Notes)

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.2 where,

Submit to the Applied F# Challenge!

This post was written by Lena Hall, a Senior Cloud Developer Advocate at Microsoft.
F# Software Foundation has recently announced their new initiative — Applied F# Challenge! We encourage you to participate and send your submissions about F# on Azure through the participation form.

.NET Framework January 2019 Security and Quality Rollup

Today, we are releasing the January 2019 Security and Quality Rollup.
Security
CVE-2019-0545 – Windows Security Feature Bypass Vulnerability
This security update resolves a vulnerability in Microsoft .NET Framework that may cause an information disclosure that allows bypassing Cross-origin Resource Sharing (CORS) configurations.

.NET Framework December 2018 Security and Quality Rollup

Today, we are releasing the December 2018 Security and Quality Rollup.
Security
CVE-2018-8540 – Windows Remote Code Execution Vulnerability
This security update resolves a vulnerability in Microsoft .NET Framework that could allow remote code execution when Microsoft .NET Framework doesn’t validate input correctly.

.NET Framework November 2018 Security and Quality Rollup

Today, we are releasing the November 2018 Security and Quality Rollup.
Security
No new security fixes. See .NET Framework September 2018 Security and Quality Rollup for the latest security updates.
Quality and Reliability
This release contains the following quality and reliability improvements.

.NET Framework October 2018 Security and Quality Rollup

Today, we released the October 2018 Security and Quality Rollup.
Security
No new security fixes.  See .NET Framework September 2018 Security and Quality Rollup for the latest security update.
Quality and Reliability
This release contains the following quality and reliability improvements.

Uncategorized

.NET Core May 2019 Updates – 1.0.16, 1.1.14, 2.1.11 and 2.2.5

Today, we are releasing the .NET Core May 2019 Update. These updates contain security and reliability fixes. See the individual release notes for details on updated packages.
NOTE: If you are a Visual Studio user, there are MSBuild version requirements so use only the .NET Core SDK supported for each Visual Studio version.

Announcing ML.NET 1.0

We are excited to announce the release of ML.NET 1.0 today.  ML.NET is a free, cross-platform and open source machine learning framework designed to bring the power of machine learning (ML) into .NET applications.

https://github.com/dotnet/machinelearning Star
Get Started @ http://dot.net/ml
ML.NET allows you to train,

Announcing .NET Core 3.0 Preview 5

Today, we are announcing .NET Core 3.0 Preview 5. It includes a new Json serializer, support for publishing single file executables, an update to runtime roll-forward, and changes in the BCL. If you missed it, check out the improvements we released in .NET Core 3.0 Preview 4,

Introducing .NET 5

Today, we’re announcing that the next release after .NET Core 3.0 will be .NET 5. This will be the next big release in the .NET family.
There will be just one .NET going forward, and you will be able to use it to target Windows,

Using .NET and Docker Together – DockerCon 2019 Update

DockerCon 2019 is being held this week, in San Francisco. We posted a DockerCon 2018 update last year, and it is time to share how we’ve improved the experience of using .NET and Docker together over the last year.
We have a group of .NET Core team members attending the conference again this year.

Introducing .NET for Apache® Spark™ Preview

Today at Spark + AI summit we are excited to announce .NET for Apache Spark. Spark is a popular open source distributed processing engine for analytics over large data sets. Spark can be used for processing batches of data, real-time streams,

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.

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

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,

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 features you may enjoy!

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,

Visual Studio

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 features you may enjoy!

Announcing F# 4.6

We’re excited to announce general availability of F# 4.6 and the F# tools for Visual Studio 2019! In this post, I’ll show you how to get started, explain the F# 4.6 feature set, give you an update on the F# tools for Visual Studio,

Microsoft’s Developer Blogs are Getting an Update

In the coming days, we’ll be moving our developer blogs to a new platform with a modern, clean design and powerful features that will make it easy for you to discover and share great content. This week, you’ll see the Visual Studio,

Announcing F# 4.6 Preview

F# 4.6 is now fully released. See the announcement blog post for more.
We’re excited to announce that Visual Studio 2019 will ship a new version of F# when it releases: F# 4.6!
F# 4.6 is a smaller update to the F# language,

.NET Core tooling update for Visual Studio 2019 Preview 2

Another preview of Visual Studio 2019, another update on the cool stuff going into it!
We’re pleased to announce some updates to the .NET Core tools for Visual Studio 2019. You can try these changes out starting with Preview 2. We’d love for you to try out these new features and give us feedback.

.NET Core tooling update for Visual Studio 2017 version 15.9

Starting with Visual Studio 2017 version 15.9, we’ve changed how the Visual Studio tooling for .NET consumes .NET Core SDKs. Prior to this change, installing a preview version of the .NET Core SDK would cause all Visual Studio tooling for .NET Core to use that SDK because it had a higher version.

Announcing F# 4.5

Today, we’re incredibly pleased to announce general availability of F# 4.5.
This post will walk through the changes in F# 4.5 (just like the preview post), then show some updates to F# tooling, and finally talk a bit about where what we’re thinking about for the next F# version.

F# language and tools update for Visual Studio 2017 version 15.7

We’re excited to share updates about changes to F# and F# tools which shipped with the Visual Studio 2017 version 15.7 release. Let’s dive in!
Type Providers now support .NET Standard
For those who aren’t familiar with Type Providers, they are a feature of F# which allow you to get IntelliSense for data.

F# language and tools update for Visual Studio 2017 version 15.6

With the release of Visual Studio 2017 version 15.6, we’re excited to share updates to the F# language and core library, F# tooling in Visual Studio, and infrastructure updates that concern OSS contributors. Let’s dive in!
F# language and core library updates
Some foundational changes for the F# language and core library have been made,

Announcing F# support for .NET Core and .NET Standard projects in Visual Studio

We’re pleased to announce that Visual Studio 2017 15.5 Preview 4 now supports F# projects targeting .NET Core, .NET Standard, and .NET Framework through the .NET Core SDK. Some of you have noticed various levels of this support in the first,

WPF

Announcing .NET Core 3 Preview 4

Today, we are announcing .NET Core 3.0 Preview 4. It includes a chart control for Windows Forms, HTTP/2 support, GC updates to use less memory, support for CPU limits with Docker, the addition of PowerShell in .NET Core SDK Docker container images,

How to port desktop applications to .NET Core 3.0

In this post, I will describe how to port a desktop application from .NET Framework to .NET Core. I picked a WinForms application as an example. Steps for WPF application are similar and I’ll describe what needs to be done different for WPF as we go.

Open Sourcing XAML Behaviors for WPF

Today, we are excited to announce that we are open sourcing XAML Behaviors for WPF.
In the past, we open sourced XAML Behaviors for UWP which has been a great success and the Behaviors NuGet package has been downloaded over 500k times.

Are your Windows Forms and WPF applications ready for .NET Core 3.0?

Download Portability Analyzer (2.37 MB)
At Build 2018 we announced that we are enabling Windows desktop applications (Windows Forms and Windows Presentation Framework (WPF)) with .NET Core 3.0. You will be able to run new and existing Windows desktop applications on .NET Core and enjoy all the benefits that .NET Core has to offer,

.NET Framework 4.7.1 Accessibility and WPF Improvements

This post describes the new WPF and accessibility features and improvements in .NET Framework 4.7.1. You can try out these features by downloading the Developer Pack, described in the Welcome to the .NET Framework 4.7.1 Early Access blog post.
Accessibility improvements
.NET Framework 4.7.1 brings in a lot of accessibility improvements across different libraries to align with the broad Microsoft product accessibility goals.

.NET Framework July 2017 Quality Update for WPF

You can now install the July 2017 Quality Update for WPF. It applies to multiple Windows versions.
This update resolves known issue 4033488. It is recommended on machines that have installed the July 2017 Preview of Quality Rollup or the May 2017 Preview of Quality Rollup.

The Roadmap for WPF

When we introduced WPF back in 2006 (.NET 3.0), the response was absolutely phenomenal. Enterprises, ISV’s, and Microsoft Partners have made the technology central to their business, building amazing vertical solutions and mission critical applications for their customers. This momentum carries forward to today – 10% of all newly created projects in Visual Studio 2013 over the past 60 days are WPF.

XAML

Open Sourcing XAML Behaviors for WPF

Today, we are excited to announce that we are open sourcing XAML Behaviors for WPF.
In the past, we open sourced XAML Behaviors for UWP which has been a great success and the Behaviors NuGet package has been downloaded over 500k times.