Interesting new C# 14 features coming with .NET 10
Explores key new features in C# 14 and .NET 10, including field-backed properties and partial events/constructors.
Thomas Levesque is a French software developer and long-time .NET expert with 20 years of experience, specializing in C#, ASP.NET Core, and open-source development. He is a core maintainer of FakeItEasy and a former Microsoft MVP.
109 articles from this blog
Explores key new features in C# 14 and .NET 10, including field-backed properties and partial events/constructors.
A guide to manually triggering a GitHub Actions workflow from a feature branch before it's merged into the default branch.
A tutorial on creating a simple URL shortener using Cloudflare Workers and KV storage in just 12 lines of JavaScript code.
A guide to implementing multiple JSON serialization settings for different endpoints in ASP.NET Core Web APIs using custom formatters.
How to fix the missing .NET Framework 4.5 reference assemblies error in Visual Studio 2022 by copying files from a NuGet package.
A review of key new features in C# 10, including record structs and static abstract members in interfaces.
Final part of a series on using C# 9 records as strongly-typed IDs, covering remaining issues with EF Core and ToString() generation.
A guide to integrating C# 9 record-based strongly-typed IDs with Entity Framework Core using value converters.
Explains how to serialize C# 9 strongly-typed IDs to JSON using System.Text.Json, covering custom converters and a converter factory.
Explains how to implement type converters for C# 9 record-based strongly-typed IDs to enable proper model binding in ASP.NET Core route and query parameters.
Explains how to use C# 9 record types to create strongly-typed IDs for entities, preventing common bugs caused by mixing up integer IDs.
Dependency injection: the good and the bad Dependency injection (DI) is a great pattern, which can really help make your code cleaner, more decoupled
Introducing Cosmos DB Studio, an open-source desktop tool for querying and managing Azure Cosmos DB databases with a better user experience.
Explains two methods to inject services into System.Text.Json converters in .NET, covering global and case-by-case scenarios.
Explains a bug in ASP.NET Core 3 where IIS removes empty HTTP headers, breaking WOPI protocol compliance, and provides a workaround.
Explains how to serialize a custom C# type as a JSON string in ASP.NET Core APIs using System.Text.Json or JSON.NET converters.
A quick Git tutorial on how to move an accidental commit from the master branch to a new feature branch using simple commands.
A summary of key new features in C# 9, including records, pattern matching, and parameter null-checking.
Explains the purpose and correct implementation of GetHashCode in C#, focusing on its role in hash tables like Dictionary and HashSet.
A developer details their migration from WordPress to Hugo, a static site generator, for a faster, more secure, and Markdown-friendly blog.