ASP.NET Core improvements in the second .NET 8 preview include a high-performance Blazor component for displaying tabular data and partial JIT compilation for Blazor WebAssembly apps. Credit: Little Visuals Microsoft’s second preview of its planned .NET 8 software development platform spruces up the ASP.NET Core web framework with a high-performance grid component and enhanced WebAssembly performance. Microsoft .NET 8 Preview 2 was unveiled March 14 and is downloadable from dotnet.microsoft.com. ASP.NET Core highlights in the new .NET 8 preview include a high-performance Blazor grid component, called QuickGrid, for displaying data in tabular form. It offers capabilities such as sorting, filtering, paging, and virtualization. Blazor is a framework for building client-side web UIs in C#. .NET 8 Preview 2 also improves Blazor WebAssembly performance, using the “jiterpreter,” a new runtime feature in .NET that enables partial JIT (just in time) compilation support in the .NET IL interpreter. The jiterpreter optimizes the execution of interpreter bytecodes by replacing them with tiny bits of WebAssembly code. .NET 8 Preview 2 follows .NET 8 Preview 1, unveiled February 21. Overall .NET 8 is set to bring new capabilities in areas such as Linux and JSON as well as full-stack web programming via ASP.NET Core. General availability of .NET 8 is planned for November. Other ASP.NET Core improvements in .NET 8 Preview 2: An analyzer is being introduced to provide a warning if developers attempt to resolve more than one parameter from the body in a minimal API. Multiple FromBody attributes are detected. A new API, TryWriteAsync, in ProblemDetails supports more resilient integrations. Performance of the named pipes transport has been improved. Aside from ASP.NET Core improvements, .NET 8 Preview 2 includes the following new library features: Extensions to the built-in validation attributes have been introduced in System.ComponentModel.DataAnnotations. The RequiredAttribute now allows validating that structs do not equal their default values. The LengthAttribute now can be used to set lower and upper bounds for strings or collections. Related content news Spin 3.0 supports polyglot development using Wasm components Fermyon’s open source framework for building server-side WebAssembly apps allows developers to compose apps from components created with different languages. By Paul Krill Nov 18, 2024 2 mins Microservices Serverless Computing Development Libraries and Frameworks how-to How to use DispatchProxy for AOP in .NET Core Take advantage of the DispatchProxy class in C# to implement aspect-oriented programming by creating proxies that dynamically intercept method calls. By Joydip Kanjilal Nov 14, 2024 7 mins Microsoft .NET C# Development Libraries and Frameworks news Microsoft’s .NET 9 arrives, with performance, cloud, and AI boosts Cloud-native apps, AI-enabled apps, ASP.NET Core, Aspire, Blazor, MAUI, C#, and F# all get boosts with the latest major rev of the .NET platform. By Paul Krill Nov 12, 2024 4 mins C# Generative AI Microsoft .NET feature Can Wasm replace containers? WebAssembly revolutionized browser apps, and promises to upend the server stack. How will it impact containers and Kubernetes? Six experts weigh in. By Bill Doerrfeld Nov 11, 2024 12 mins Containers Kubernetes Cloud Native Resources Videos