.NET Blog

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

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

Async ValueTask Pooling in .NET 5

The async/await feature in C# has revolutionized how developers targeting .NET write asynchronous code. Sprinkle some async and await around, change some return types to be tasks, and badda bing badda boom, you've got an asynchronous implementation. In theory. In practice, obviously I've exaggerated the ease with which a codebase can be made ...

An Introduction to DataFrame

Last month, we announced .NET support for Jupyter notebooks, and showed how to use them to work with .NET for Apache Spark and ML.NET. Today, we're announcing the preview of a DataFrame type for .NET to make data exploration easy. If you've used Python to manipulate data in notebooks, you'll already be familiar with the concept of a DataFrame...

Feedback usabilla icon