.NET Blog

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

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

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.

Announcing Entity Framework Core EF Core 5.0 Preview 7

Today, the Entity Framework Core team announces the seventh preview release of EF Core 5.0. This release includes a factory to create DbContext instances, the ability to reset DbContext state, Cosmos DB improvements including enhanced support for configuration options and partition keys, and much more. In this post To summarize...

Announcing Entity Framework Core EFCore 5.0 Preview 6

Today, the Entity Framework Core team announces the sixth preview release of EF Core 5.0. This release includes split queries for related collections, a new "index" attribute, improved exceptions related to query translations, IP address mapping, exposing transaction id for correlation, and much more. Prerequisites EF Core 5.0 will not run ...

Announcing Entity Framework Core 5.0 Preview 3

Today we are excited to announce the third preview release of EF Core 5.0. The third previews of .NET 5 and ASP.NET Core 5.0 are also available now. Prerequisites The previews of EF Core 5.0 require .NET Standard 2.1. This means: How to get EF Core 5.0 previews EF Core is distributed exclusively as a set of ...