.NET Blog

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

App Trimming in .NET 5

Trimming is an option as part of publishing self contained apps in .NET Core. This post goes into more detail about the trimming options in .NET 5 including type and member level trimming.

Introducing the Half type!

The IEEE 754 specification defines many floating point types, including: binary16, binary32, binary64 and binary128. Most developers are familiar with binary32 (equivalent to float in C#) and binary64 (equivalent to double in C#). They provide a standard format to represent a wide range of values with a precision acceptable for many ...

F# 5 update for August

We’re excited to announce more updates to F# 5 which will go alongside .NET 5 preview 8! We've shipped various updates since the beginning of this year: Today, we're pleased to announce the completion of the F# 5 feature work. There is one minor enhancement planned for the .NET 5 RC, but other than that we are finished with F# 5! ...

Announcing .NET 5.0 Preview 8

Today, we are releasing .NET 5.0 Preview 8. The .NET 5.0 release is now "feature complete", meaning that very nearly all features are in their final form (with the exception of bug fixes still to come). Preview 8 is, appropriately, the last preview. We plan on releasing two go-live release candidates before the final .NET 5.0 release in ...

New C# Source Generator Samples

This post describes two new generators that we added to the samples project in the Roslyn SDK github repo. The first generator gives you strongly typed access to CSV data. The second one creates string constants based on Mustache specifications.

August ML.NET API and Tooling Updates

ML.NET is an open-source, cross-platform machine learning framework for .NET developers. It enables integrating machine learning into your .NET apps without requiring you to leave the .NET ecosystem or even have a background in ML or data science. ML.NET provides tooling (Model Builder UI in Visual Studio and the cross platform ML.NET CLI) ...