Select the directory option from the above "Directory" header!

Menu
ASP.NET Core gets full-stack web programming in .NET 8

ASP.NET Core gets full-stack web programming in .NET 8

Now available in first preview.

Credit: Dreamstime

ASP.NET Core, Microsoft’s cross-platform framework for web and mobile apps, will offer a combined, full-stack web programming model as part of the planned .NET 8 software development platform, to better satisfy the diverse needs of web apps.

Now available in a first preview, .NET 8 endeavors to combine benefits of server-side and client-side rendering into a single, full-stack programming model based on the Blazor framework for client-side web UIs, featured as part of ASP.NET Core. This effort is being called Blazor United, Microsoft said in a blog post published on February 21.

Many apps need a combination of server-side and client-side approaches, Microsoft’s Daniel Roth, principal program manager for ASP.NET, said. 

A home page or blog is best handled with server-side rendering for fast loading and indexing, while more elaborate functionality of an app needs client-side responsiveness. Thus far, .NET has required using 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 in the same page. Blazor United will enable new rendering capabilities such as streaming rendering and progressive enhancement of form posts and navigations.

Also in .NET 8, an improved authentication and authorisation experience is eyed 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 to production environments. 

Diagnostics to quickly troubleshoot security issues also are planned.

To begin 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, for producing an app that is self-contained and ahead-of-time compiled, to ASP.NET Core. 

This will first be done with cloud-focused, API apps built with minimal APIs that meet expectations regarding published file size, working set, throughput performance, and startup time.

ASP.NET Core in .NET 8 Preview 1 also includes routing tools, route constraint performance improvements, hot reload support for instance fields, properties, and events for .NET on WebAssembly, and experimental Blazor WebAssembly debugging in Firefox. And HTTP/3 is enabled by default.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Show Comments