Microsoft Releases .NET 11 Preview 5 with File-Based App Improvements, New C# Features, and Blazor Updates
By
Almir Vuk
Summary
Microsoft has released .NET 11 Preview 5, bringing updates across the runtime, SDK, libraries, ASP.NET Core, .NET MAUI, C#, and Entity Framework Core. Key highlights include file-based app improvements such as the new #:ref directive for splitting code across files without creating projects, expanded CLI tool support for file-based app paths, and the bundling of the Model Context Protocol server. The release also introduces new C# features including closed classes and un-scoped functionality, along with Blazor validation enhancements.
Source
Key quotes
· 3 pulledDevelopers can now split code across files using the new #:ref directive, which references another file-based app as a library, without first creating a project.
More command-line tools, including package and NuGet commands, now understand file-based app paths.
The SDK also bundles the Model Context Protocol server temp
You might also wanna read
Microsoft Releases .NET 10 with Performance, Security, and AI Enhancements
Microsoft announces the release of .NET 10, describing it as the most productive, modern, secure, intelligent, and performant version of .NE
The Ultimate .NET Developer Roadmap 2026 - AI, Backend, Blazor & Full-Stack
TypeScript 6.0 Release Candidate Announced - Final Release on Current JavaScript Codebase
Microsoft announces the Release Candidate of TypeScript 6.0, which is notable as the last release based on the current JavaScript codebase.
How to Implement Blazor CRUD using Entity Framework Core? Detailed Demonstration
Heroku Announces Day-One Support for .NET 10 LTS Release
Heroku announces immediate support for .NET 10 LTS release, allowing developers to deploy .NET 10 applications on the Heroku platform with d
Windows 11 Insider Preview Build 26220.7271 Released to Dev and Beta Channels
Microsoft releases Windows 11 Insider Preview Build 26220.7271 (KB5070307) to both Dev and Beta Channels, marking continued development of W

Comments
Sign in to join the conversation.
No comments yet. Be the first.