{
  "id": 1907347,
  "title": ".NET 11 Preview 7 Brings Updates Across C#, ASP.NET Core, EF Core, and Windows Forms",
  "url": "https://urgent.news/2026/08/19/net-11-preview-7-brings-updates-across-c-asp-net-core-ef-core-and",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-19T09:26:00.000Z",
  "source": {
    "name": "InfoQ",
    "slug": "infoq",
    "url": "https://www.infoq.com/news/2026/08/dotnet-11-preview-7/"
  },
  "original_language": "en",
  "account": "Microsoft unveiled .NET 11 Preview 7 last week, a release that updates and enhances several key technologies, including C#, ASP.NET Core, Entity Framework Core, Windows Forms, and F#. In the C# language, developers can now use named break and continue statements to directly exit or continue outer loops or switches, eliminating the need for flags or gotos. Union types, a preview feature, now utilize a try-both method, testing patterns against the union before examining individual values. Similarly, switch-expression exhaustiveness can now handle generic parameters constrained to closed types, preventing compiler warnings when all cases are addressed.\n\nASP.NET Core received numerous enhancements, particularly for Blazor applications. Interactive Server circuits can now halt themselves when a browser tab is inactive, freeing up server resources until the user resumes interaction. A new CacheView component stores the rendered output of server-side components, replaying HTML on cache hits to conserve processor and memory usage. Additionally, five default Blazor analyzers help flag common errors, while QuickGrid introduces programmable scrolling. Localization for validation messages is now integrated and activated upon registering a string localizer, and ValidatableType and SkipValidation attributes enter preview.\n\nSignalR's .NET client can now refresh authentication after a negotiate redirect, and endpoints returning server-sent events adhere to OpenAPI 3.2 specifications. Applications can retrieve the TLS channel-binding token to protect against relay attacks. A significant change in .NET 11 Preview 7 reverses a previous decision: automatic cross-origin protection now only validates endpoints explicitly marked for such protection, aligning with .NET 10 behavior and preventing disruptions in existing applications.\n\nFor .NET MAUI, Preview 7 introduces cross-platform passkey authentication, XAML Incremental Hot Reload, and Shell route templates. Entity Framework Core updates now translate int.Parse and similar methods to SQL Server CASTs, streamline GroupBy operations into single joins, and add support for the 16-bit Half data type in SQLite databases. The Azure Cosmos DB provider has been modernized to use System.Text.Json, and the Package Manager Console gains a -NoBuild switch for adding and applying migrations.\n\nWindows Forms features an optional modern rendering pipeline through VisualStylesMode, enabling reaction to system visual settings, deferred form reveal to prevent initial unstyled flickers, and SuspendPainting scopes to decrease flicker during bulk updates. F# saw minor compiler refinements, including support for computation-expression bindings within plain let expressions and correct attribute resolution in recursive modules. The full release notes for .NET 11 Preview 7 are available on the dotnet/core repository on GitHub.",
  "summary": "Last week Microsoft released .NET 11 Preview 7, with updates across C#, ASP.NET Core, .NET MAUI, Entity Framework Core, Windows Forms, and F#. C# adds labeled break and continue. ASP.NET Core brings Blazor circuit pausing, CacheView, and built-in validation localization. Windows Forms gains an opt-in modern rendering pipeline, and EF Core adds Half type support on SQLite. By Almir Vuk",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}