1 min readfrom InfoQ

.NET 11 Preview 5: Brings File-Based App Improvements, New C# Features, and a Blazor Validation Wave

Our take

.NET 11 Preview 5 delivers significant advancements across the platform, empowering developers with enhanced productivity and reliability. Key improvements include streamlined file-based app experiences and exciting new C# features like closed classes and unions. Blazor developers will appreciate the latest validation enhancements, while .NET MAUI benefits from a substantial reliability rollup. Notably, SQL Server 2022 now serves as the default EF Core compatibility level.
.NET 11 Preview 5: Brings File-Based App Improvements, New C# Features, and a Blazor Validation Wave

The latest .NET 11 Preview 5 release signals a continued and deliberate evolution of the platform, showcasing Microsoft’s commitment to empowering developers with tools that are both powerful and increasingly streamlined. While incremental updates might seem modest on the surface, the cumulative effect of these changes—particularly those focused on file-based apps and C# language features—points to a broader shift towards more adaptable and efficient application architectures. The advancements in Blazor validation represent a welcome improvement for front-end development, addressing a common pain point for many teams. This aligns with the ongoing trend toward simplifying development workflows and reducing friction, a theme we’ve observed across the industry; GitLab 19.0 Embeds Agentic AI in Secrets, Merge Requests, and Supply Chain Security GitLab 19.0 Embeds Agentic AI in Secrets, Merge Requests, and Supply Chain Security exemplifies this push towards integrating AI to augment developer capabilities and improve security posture.

The introduction of closed classes and unions in C# is particularly noteworthy. These features, while potentially subtle to the uninitiated, contribute significantly to code safety and maintainability. By providing mechanisms to restrict inheritance and ensuring exhaustive pattern matching, .NET 11 is actively encouraging developers to build more robust and predictable applications, something increasingly important as codebase complexity grows. Furthermore, the elevation of SQL Server 2022 to the default EF Core compatibility level is a pragmatic move, reflecting the widespread adoption of the latest SQL Server features and simplifying development for those working within the Microsoft ecosystem. Considering the increased focus on platform security, particularly with the rise of AI agents, Microsoft's continued investment in .NET's underlying infrastructure is crucial; Windows Platform Security and the Race to Secure AI Agents Windows Platform Security and the Race to Secure AI Agents underscores the necessity of a secure foundation for these emerging technologies. The reliability rollups in .NET MAUI also deserve attention, demonstrating a focus on stabilizing the cross-platform UI framework.

The ongoing refinements to file-based apps highlight a key architectural shift – the move away from monolithic applications towards more modular, self-contained components. This approach offers increased agility and easier deployment, allowing developers to iterate more quickly and respond to changing requirements with greater ease. The improvements aren't just about technical capabilities; they represent a movement towards a more developer-centric philosophy, prioritizing flexibility and efficiency. Azure Functions Ships Serverless Agents Runtime at Build 2026 Azure Functions Ships Serverless Agents Runtime at Build 2026 further emphasizes Microsoft’s support for distributed and event-driven architectures, solidifying .NET’s position as a versatile platform for modern application development. The continuous delivery of preview releases like this one allows developers to incorporate these innovations early, providing valuable feedback and shaping the future direction of the platform.

Ultimately, the .NET 11 Preview 5 release is not a disruptive event, but rather a steady progression towards a more refined and developer-friendly platform. It reflects a clear understanding of the evolving needs of the development community—a community increasingly focused on speed, reliability, and security. As we move further into an era defined by AI-powered applications and increasingly complex architectures, the ongoing improvements to .NET will be critical for empowering developers to build the solutions of tomorrow. The question now becomes: how will these incremental improvements coalesce into a fundamentally new way of building applications, and what role will AI play in accelerating that transformation?

Microsoft has released the fifth preview of .NET 11, with updates across the SDK, C#, ASP.NET Core, .NET MAUI, and EF Core. Highlights include file-based app improvements, new C# closed classes and unions, a Blazor validation wave, a large MAUI reliability rollup, and SQL Server 2022 as the default EF Core compatibility level.

By Almir Vuk

Read on the original site

Open the publisher's page for the full experience

View original article

Tagged with

#cloud-based spreadsheet applications#enterprise-level spreadsheet solutions#Excel compatibility#large dataset processing#financial modeling with spreadsheets#rows.com#.NET 11#C##ASP.NET Core#.NET MAUI#EF Core#Blazor#SDK#File-Based Apps#Closed Classes#Unions#Validation#Reliability#SQL Server 2022#Compatibility Level