ASP.NET Core, Microsoft’s cross-platform framework for web and mobile applications, will offer a comprehensive and combined web programming model as part of the planned .NET 8 software development platform, to better meet the diverse needs of web applications.
Now available in a first preview, .NET 8 strives to combine the benefits of server-side and client-side rendering into a single full-stack programming model based on the Blazor framework for web-side user interfaces. client, introduced as part of ASP. Network core. This effort is called Blazor United, Microsoft said in a blog post published on February 21.
Many applications need a mix of server-side and client-side approaches, said Daniel Roth, principal program manager for ASP.NET at Microsoft. A home page or blog is best handled with server-side rendering for fast loading and indexing, while more elaborate functionality in an app needs client-side responsiveness. Until now, .NET has required the use of multiple frameworks together (MVC, Razor, and Blazor Pages) to achieve this.
With .NET 8, developers will be able to use a single Blazor-based architecture for server-side rendering and client-side interactivity with Blazor Server or WebAssembly. Developers will be able to switch between different rendering modes and mix them on the same page. Blazor United will enable new rendering capabilities, such as streaming rendering and progressively better form posts and navigations.
Also in .NET 8, an improved authentication and authorization experience is planned for ASP.NET Core. Microsoft with ASP.NET Core hopes to create an intuitive experience for web-based authentication and provide steps and tools to support deployment in production environments. Diagnostics are also planned to quickly fix security issues.
To start using ASP.NET Core in .NET 8 Preview 1, developers must install the .NET SDK. The next version of .NET will also extend Native AOT, to produce a stand-alone, pre-compiled application, to ASP.NET Core. This will be done first with cloud-focused API applications built with minimal APIs that meet expectations with respect to published file size, working set, performance, and startup time.
ASP.NET Core in .NET 8 Preview 1 also includes routing tools, path constraint performance improvements, hot reload support for instance fields, properties, and events for .NET in WebAssembly, and experimental debugging of Blazor WebAssembly in Firefox. And HTTP/3 is enabled by default.
Copyright © 2023 IDG Communications, Inc.
Be First to Comment