Blazor 0.9.0 is already available! This release adds improvements to Razor components in .NET Core 3.0 Preview 3 in Blazor.
New Razor Component enhancements are now available for Blazor apps:
Check out the ASP.NET Core 3.0 Preview 3 announcement to find out the details of these improvements. Also check out the Blazor 0.9.0 release documentation for more details.
Note: The Blazor templates have not been updated to use the new .razor file extension for the Razor components in this release. This update will be made in a future release.
To get started with Blazor 0.9.0, install the following:
Command line blazor templates:
dotnet new -i Microsoft.AspNetCore.Blazor.Templates::0.9.0-preview3-19154-02
Getting started instructions, documents and tutorials for Blazor can be found at blazor.net .
To upgrade existing Blazor applications to Blazor 0.9.0, first make sure that you have done everything listed above.
To upgrade the Blazor 0.8.0 project to 0.9.0:
JSRuntime.Current
and instead use dependency injection to get the current IJSRuntime
instance and transfer it to where it is needed.We hope you enjoy this preview of Blazor. As in previous versions, your feedback is important to us. If you have problems or questions while using Blazor , add them to GitHub . You can also chat with us and the Blazor community on Gitter if you have problems. After you have been using Blazor for a while, please let us know what you think by taking the survey.
Thanks for using Blazor!
Source: https://habr.com/ru/post/443432/
All Articles