Grow with AppMaster Grow with AppMaster.
Become our partner arrow ico

Microsoft .NET 8 Enhances Blazor and WebAssembly Performance

Microsoft .NET 8 Enhances Blazor and WebAssembly Performance

Microsoft's much-anticipated .NET 8 framework is set to bolster web app performance through significant improvements in both Blazor server-side rendering and WebAssembly runtime. With its fourth preview now available, the development framework will see significant enhancements in server-side rendering with Blazor components, advanced navigation and form handling, and streaming rendering capabilities.

Content updates on the response stream can be streamed using .NET 8's streaming rendering. This feature is particularly useful for server-side rendered pages that require executing long-running async tasks for full rendering, thus offering an enhanced user experience. Server-side rendering and streaming rendering were introduced in .NET 8 Preview 3 and Preview 4, respectively, with more features to be added in future previews.

Developers will also have the flexibility to add client interactivity on a per-component or per-page basis and choose a rendering mode at runtime. Moreover, with .NET 8, a Blazor component can be rendered fully outside of an HTTP request context. This enables components to be rendered as an HTML string or a stream, independent of the ASP.NET Core hosting environment. This capability is particularly useful when generating HTML fragments, such as automated emails. Post-.NET 8, Microsoft plans to enable static site content generation for Blazor.

Expected to be released in production in November, .NET 8 will also provide notable performance improvements in browsers using WebAssembly. Benchmarked tests featuring .NET 8's jiterpreter with partial JIT (just-in-time compilation) support showed 20% faster UI rendering, as well as JSON serialization and deserialization running at double the speed. Microsoft has been leveraging the latest WebAssembly specifications, including SIMD for ahead-of-time compilation and hot reload enhancements, to maximize improvements.

A new web-friendly packaging format, Webcil, is featured for Blazor WebAssembly apps. Furthermore, QuickGrid, a fast data grid component introduced in .NET 7, will become stable in .NET 8. Additional APIs have been implemented in Blazor Server to monitor activity on circuits, potentially freeing up resources.

With companies like AppMaster offering powerful and efficient no-code platforms, including backend, web, and mobile applications, .NET 8's enhanced capabilities in web app performance could boost the landscape for IT professionals and businesses alike. AppMaster-generated applications' scalability and versatility for various needs, from small businesses to enterprise use cases, make it an ideal choice to complement the upcoming release of .NET 8.

Related Posts

Samsung Unveils Galaxy A55 with Innovative Security and Premium Build
Samsung Unveils Galaxy A55 with Innovative Security and Premium Build
Samsung broadens its midrange lineup introducing the Galaxy A55 and A35, featuring Knox Vault security and upgraded design elements, infusing the segment with flagship qualities.
Cloudflare Unveils Firewall for AI to Shield Large Language Models
Cloudflare Unveils Firewall for AI to Shield Large Language Models
Cloudflare steps ahead with Firewall for AI, an advanced WAF designed to pre-emptively identify and thwart potential abuses targeting Large Language Models.
OpenAI's ChatGPT Now Speaks: The Future of Voice-Interactive AI
OpenAI's ChatGPT Now Speaks: The Future of Voice-Interactive AI
ChatGPT has achieved a milestone feature with OpenAI rolling out voice capabilities. Users can now enjoy hands-free interaction as ChatGPT reads responses aloud on iOS, Android, and web.
GET STARTED FREE
Inspired to try this yourself?

The best way to understand the power of AppMaster is to see it for yourself. Make your own application in minutes with free subscription

Bring Your Ideas to Life