.NET Blog

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

.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

  • Addressed an issue where the Framework would throw an exception is the year in the parsed date is greater or equal the year start the next era.
.NET Core March 2019 Updates – 1.0.15, 1.1.12, 2.1.9 and 2.2.3

Today, we are releasing the .NET Core March 2019 Update. These updates contain security and reliability fixes. See the individual release notes for details on included reliability fixes.

Security
Microsoft Security Advisory CVE-2019-0657: .NET Core NuGet Tampering Vulnerability

A tampering vulnerability exists in NuGet software when executed in a Linux or Mac environment.

Announcing ML.NET 0.11 – 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,

Announcing .NET Core 3 Preview 3

Today, we are announcing .NET Core 3.0 Preview 3. We would like to update you on the .NET Core 3.0 schedule and introduce you to improvements in .NET Core SDK installers, Docker containers, Range, and Index. We also have updates on the Windows Desktop and Entity Framework projects.

Floating-Point Parsing and Formatting improvements in .NET Core 3.0

Starting back with the .NET Core 2.1 release, we were making iterative improvements to the floating-point parsing and formatting code in .NET Core. Now, in .NET Core 3.0 Preview 3, we are nearing completion of this work and would like to share more details about these changes and some of the differences you might see in your applications.

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.

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.

AI Machine Learning

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

alt text

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,

Announcing ML.NET 0.7 (Machine Learning .NET)

ML.NET icon

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

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,

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.

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

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.

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#

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.

Entity Framework

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.

F#

Announcing F# 4.6 Preview

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, making it a “true” point-release. As with previous versions of F#,

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.

Machine Learning

Announcing ML.NET 0.9 – Machine Learning for .NET

 

Announcing ML.NET 0.9 – Machine Learning for .NET

alt text

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.

ML.NET

Announcing ML.NET 0.9 – Machine Learning for .NET

 

Announcing ML.NET 0.9 – Machine Learning for .NET

alt text

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)

ML.NET icon

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

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.

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

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

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.

Announcing .NET Framework 4.8 Early Access Build 3745

As we get closer to the final version, our efforts are focused on stabilizing the release over the coming weeks. Please keep up the support by trying out our latest preview 3745 and provide any feedback you may have for the build or for .NET 4.8 overall,

.NET Core 1.0 and 1.1 will reach End of Life on June 27, 2019

.NET Core 1.0 was released on June 27, 2016, and .NET Core 1.1 was released on November 16, 2016. As an LTS release, .NET Core 1.0 is supported for three years. .NET Core 1.1 fits into the same support timeframe as .NET Core 1.0. .NET Core 1.0 and 1.1 will reach end of life…

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,

.NET Framework January 2019 Preview of Quality Rollup

The Security and Quality Rollup is available via Windows Update, Windows Server Update Services, and Microsoft Update Catalog.

Announcing ML.NET 0.9 – Machine Learning for .NET

 

Announcing ML.NET 0.9 – Machine Learning for .NET

alt text

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.

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.

.NET Core January 2019 Updates – 2.1.7 and 2.2.1

Today, we are releasing the .NET Core January 2019 Update. These updates contain security and reliability fixes.

Security

CVE-2019-0545: .NET Core Information Disclosure Vulnerability

The security update addresses the vulnerability by enforcing Cross-origin Resource Sharing (CORS) configuration to prevent its bypass in .NET Core 2.1 and 2.2.

Announcing .NET Framework 4.8 Early Access Build 3707

We have another early access build to share today! This release includes several accessibility, performance, reliability and stability fixes across the major framework libraries. We will continue to stabilize this release and take more fixes over the coming months and we would greatly appreciate it if you could help us ensure Build 3707 is a high-quality release by trying it out and providing feedback on the new features via the .NET Framework Early Access GitHub repository.

.NET Core

Announcing .NET Core 3 Preview 3

Today, we are announcing .NET Core 3.0 Preview 3. We would like to update you on the .NET Core 3.0 schedule and introduce you to improvements in .NET Core SDK installers, Docker containers, Range, and Index. We also have updates on the Windows Desktop and Entity Framework projects.

Floating-Point Parsing and Formatting improvements in .NET Core 3.0

Starting back with the .NET Core 2.1 release, we were making iterative improvements to the floating-point parsing and formatting code in .NET Core. Now, in .NET Core 3.0 Preview 3, we are nearing completion of this work and would like to share more details about these changes and some of the differences you might see in your applications.

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.

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.

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.

.NET Core 1.0 and 1.1 will reach End of Life on June 27, 2019

.NET Core 1.0 was released on June 27, 2016, and .NET Core 1.1 was released on November 16, 2016. As an LTS release, .NET Core 1.0 is supported for three years. .NET Core 1.1 fits into the same support timeframe as .NET Core 1.0. .NET Core 1.0 and 1.1 will reach end of life…

Announcing .NET Core 3 Preview 2

Today, we are announcing .NET Core 3 Preview 2. It includes new features in .NET Core 3.0 and C# 8, in addition to the large number of new features in Preview 1. ASP.NET Core 3.0 Preview 2  is also released today.

Help us plan the future of .NET and Big Data

We’re currently looking into how we can make .NET great for Big Data scenarios.   

Please fill out the survey below and help shape how we can improve .NET for Big Data by sharing your experiences, challenges, and needs.

.NET and TypeScript at FOSDEM 2019

The schedule for the .NET and Typescript Developer Room at FOSDEM has now been published!

FOSDEM is one of the longest running Free and Open Source conferences, and we’re excited to have a .NET and TypeScript Developer Room this year,

Do more with patterns in C# 8.0

Do more with patterns in C# 8.0

Visual Studio 2019 Preview 2 is out! And with it, a couple more C# 8.0 features are ready for you to try. It’s mostly about pattern matching, though I’ll touch on a few other news and changes at the end.

.NET Framework

.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

  • Addressed an issue where the Framework would throw an exception is the year in the parsed date is greater or equal the year start 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.

Announcing .NET Framework 4.8 Early Access Build 3745

As we get closer to the final version, our efforts are focused on stabilizing the release over the coming weeks. Please keep up the support by trying out our latest preview 3745 and provide any feedback you may have for the build or for .NET 4.8 overall,

.NET Framework February 2019 Preview of Quality Rollup

Today, we released the February 2019 Preview of Quality Rollup. Quality and Reliability This release contains the following quality and reliability improvements. CLR Addresses an issue in System.Threading.Timer where a single global queue that was protected by a single process-wide lock causing an issue with scalability where Timers are used frequently on a multi-CPU machine.

Announcing .NET Framework 4.8 Early Access Build 3734

We are getting closer to the final version now! This release includes several accessibility, performance and reliability fixes across the major framework libraries. We will continue to stabilize this release and take more fixes over the coming weeks and we would greatly appreciate it if you could help us ensure Build 3734 is a high-quality release by trying it out and providing feedback on the new features via the .NET Framework Early Access GitHub repository.

Help us plan the future of .NET and Big Data

We’re currently looking into how we can make .NET great for Big Data scenarios.   

Please fill out the survey below and help shape how we can improve .NET for Big Data by sharing your experiences, challenges, and needs.

Debugging .NET Apps with Time Travel Debugging (TTD)

When you are debugging an application, there are many tools and techniques you can use, like logs, memory dumps and Event Tracing for Windows (ETW). In this post, we will talk about Time Travel Debugging, a tool used by Microsoft Support and product teams and more advanced users,

Do more with patterns in C# 8.0

Do more with patterns in C# 8.0

Visual Studio 2019 Preview 2 is out! And with it, a couple more C# 8.0 features are ready for you to try. It’s mostly about pattern matching, though I’ll touch on a few other news and changes at the end.

.NET Framework January 22, 2018 Cumulative Update for Windows 10 version 1809 and Windows Server 2019

Today, we are releasing the January 22, 2018 .NET Framework Cumulative Update for Windows 10 version 1809 and Windows Server 2019.

For more information about the new Cumulative Updates for .NET Framework for Windows 10 version 1809 and Windows Server 2019 please refer to this recent announcement.

Security

.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 Container Images now Published to Microsoft Container Registry

We are now publishing .NET Core container images to Microsoft Container Registry (MCR). We have also made other changes to the images we publish, described in this post.

Important: You will need to change FROM statements in Dockerfile files and docker pull commands as a result of these changes.

.NET Core March 2019 Updates – 1.0.15, 1.1.12, 2.1.9 and 2.2.3

Today, we are releasing the .NET Core March 2019 Update. These updates contain security and reliability fixes. See the individual release notes for details on included reliability fixes.

Security
Microsoft Security Advisory CVE-2019-0657: .NET Core NuGet Tampering Vulnerability

A tampering vulnerability exists in NuGet software when executed in a Linux or Mac environment.

Announcing ML.NET 0.11 – 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,

Announcing .NET Core 3 Preview 3

Today, we are announcing .NET Core 3.0 Preview 3. We would like to update you on the .NET Core 3.0 schedule and introduce you to improvements in .NET Core SDK installers, Docker containers, Range, and Index. We also have updates on the Windows Desktop and Entity Framework projects.

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.

RESOLVED: Advisory on February 2019 Security update for Windows 10 update 1809

Final Update 2/19/19 @1:30 PM (PST): This advisory is now resolved with no action needed from Microsoft Customers. The issue was not applicable to any valid or supported configuration. There is no consequence for .NET 4.8 Preview customers.

Help us make the .NET Architecture guides better for you!

Over the last couple of years, we worked with experts to create some incredible architecture guides & reference samples for .NET developers. We focused on Microservices Architecture, Modernizing existing .NET apps, DevOps best practices, ASP.NET web apps, Azure cloud apps,

.NET Framework February 2019 Security and Quality Rollup

Updated: February 15, 2019

.NET Core February 2019 Updates – 1.0.14, 1.1.11, 2.1.8 and 2.2.2

The latest .NET Core updates are available on the .NET Core download page. This update is also included in the Visual Studio 15.0.21 (.NET Core 1.0 and 1.1) and 15.9.7 (.NET Core 1.0, 1.1 and 2.1) updates, which is also releasing today.

See the .NET Core release notes ( 1.0.14 | 1.1.11 | 2.1.8 | 2.2.2 ) for details on the release including a issues fixed and affected packages.

Announcing ML.NET 0.10 – Machine Learning for .NET

alt text

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.

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,

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

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

WPF

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

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

XAML