What’s new in ASP.NET Core in .NET 5 RC2
.NET 5 RC2 (13/10/2020) can be used in practice. This RC2 release is very close to the official release.
New in RC2:
- Improved CSS isolation
- Improved debugging in Blazor WebAssembly
- Tools compatible with web browsers
ASP.NET Core in .NET 5 contains a lot of functionality and improvements. The list below summarizes the improvements:
MVC and Razor Pages
- Model binding supports C # 9 record type
- Model bind DateTime as UTC
- DynamicRouteValueTransformer improved
- Apply CompareAttribute with the model attribute of the page
- Constraint parameters and properties from the body and for the present are required by default
Web API
- Support the Open API specification by default
- Improved experience when pressing F5 with Swagger UI
Blazor
- CSS isolation
- JavaScript object and references
- Component virtualization
- New InputFile Component
- New InputRadio and InputRadioGroup components
- CSS clas properties for custom data validation
- IAsyncDisposable supports components
- Support for status flip events (on / off, close / open)
- Add the OffsetX and OffsetY properties with the MouseEventArgs
- Custom routing parameters and catch them all.
- The Blazor WebAssembly application will use the target .NET 5 by default
- Blazor WebAssembly’s run time performance improvements
- Blazor WebAssembly supports the lazy load
- Blazor WebAssembly is available from the server side
- Blazor supports setting focus settings in the interface
- Blazor Server protects the data storage on the web browser side
SignalR
- Filters Hub
- Invoke a parallel hub
- Messagepack supports SignalR Java client
Kestrel
- Sending HTTP / 2 PING frames
- Performance improvements according to HTTP / 2 standards
- Kestrel’s end-point-specific options are configurable
- The endpoints can be reloaded via configuration
- Decode custom headers
- Support async certificate callback
– Authentication & Authorization
1 2 3 4 5 | + Xác thực Azure AD với Microsoft.Identity.Web + Các phương thức mở rộng để cho phép truy cập vô danh đến điểm cuối + Các phép RBAC với xác thực Kerberos và LDAP trên Linux + Xử lý tùy chỉnh thất bại của việc cấp quyền |
- Activate clas Startup
- Custom console log format and JSON console logger
- Nullability annotation is applicable to all ASP.NET Core assemblies
- JSON extension methods for HttpRequest and HttpResponse
- Automatically refresh the browser (Refresh – F5) with the dotnet watch command
Original article: https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-5-release-candidate-2/