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 Microsoft unveils imaging APIs for Windows Copilot Runtime Generative AI-backed APIs will allow developers to build image super resolution, image segmentation, object erase, and OCR capabilities into Windows applications. By Paul Krill Nov 19, 2024 2 mins Generative AI APIs Development Libraries and Frameworks news Akka distributed computing platform adds Java SDK Akka enables development of applications that are primarily event-driven, deployable on Akka’s serverless platform or on AWS, Azure, or GCP cloud instances. By Paul Krill Nov 18, 2024 2 mins Java Scala Serverless Computing 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 Resources Videos