.NET
7 articles in the last 30 days.
-
C# Write to File: WriteAllText, WriteAllLines, AppendAllText and StreamWriter
A guide to the File.WriteAll* and AppendAllText methods, async variants and StreamWriter, with a decision table and samples tested on .NET 10 and C# 14.
-
.NET 11: ASP.NET Core Union Type Support, OpenAPI 3.2 by Default and Blazor AI Components
ASP.NET Core in .NET 11 adds C# union types in JSON bodies, async validation for Minimal APIs and OpenAPI 3.2 by default. Zstandard compression is now on by default, and Blazor gains a CacheView component.
-
C# try/catch: Exception Handling in C# with Examples
Covers try/catch/finally, the members of System.Exception, catch ordering, rethrowing, exception filters and custom exception types on .NET 10 and C# 14.
-
Announcing .NET 11
Microsoft has released .NET 11, a two-year STS release. It adds C# 15 union types, a Native AOT CLI host, asynchronous validation and OpenAPI 3.2 in ASP.NET Core, and CoreCLR as the MAUI default.
-
.NET and .NET Framework November 2026 servicing updates
November servicing for .NET 8 to 11 fixes many CVEs in ASP.NET Core, .NET and Visual Studio. CVE-2026-118747 needs a System.Formats.Cbor package update, not only a runtime update.