Blazor 0.9.0 released
- Transfer
Blazor 0.9.0 is now available! This release adds Blazor Razor component enhancements to .NET Core 3.0 Preview 3.
New Razor Component enhancements are now available for Blazor applications:
- Improved event handling
- Forms and Validation
Looking forward to see your feedback!
Check out the announcement of ASP.NET Core 3.0 Preview 3 to find out the details of these enhancements. Also check out the Blazor 0.9.0 release documentation for more details.
Note: Blazor templates have not been updated to use the new .razor file extension for Razor components in this release. This update will be made in a future release.
Install Blazor 0.9.0
To get started with Blazor 0.9.0, install the following:
- .NET Core 3.0 Preview 3 SDK (3.0.100-preview3-010431)
- Visual Studio 2019 (Preview 4 or later) with ASP.NET.
- The latest Blazor extension from the Visual Studio Marketplace.
Blazor templates on the command line:
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 .
Upgrade to Blazor 0.9.0
To upgrade existing Blazor applications to Blazor 0.9.0, first make sure that you have done all of the above.
To upgrade your Blazor 0.8.0 project to 0.9.0:
- Update Blazor packages and .NET CLI tool links to version 0.9.0-preview3-19154-02.
- Update the remaining Microsoft.AspNetCore packages. * Up to version 3.0.0-preview3-19153-02.
- Remove any usage
JSRuntime.Current
and use dependency injection instead to get the current instanceIJSRuntime
and transfer it to where it is needed.
Leave a review
We hope you enjoy this Blazor preview release. As in previous versions, your feedback is important to us. If you have any 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 any problems. After using Blazor for a while, please let us know what you think by participating in the survey.
Thanks for using Blazor!