.NET Blog

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

Improvements in native code interop in .NET 5.0
Improvements in native code interop in .NET 5.0
In this post, we discuss interop improvements in .NET 5.0 and describe some of the work we are considering for the future. We also have a survey on GitHub, where we hope to hear about your experiences in the interop space.
App Trimming in .NET 5
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!
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
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
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
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.