- PVSM.RU - https://www.pvsm.ru -
Blazor 0.9.0 is now available! This release updates Blazor with the Razor Components improvements in .NET Core 3.0 Preview 3.
New Razor Component improvements now available to Blazor apps:
Checkout the ASP.NET Core 3.0 Preview 3 announcement [1] for details on these improvements. See also the Blazor 0.9.0 release notes [2] for additional details.
Note: The Blazor templates have not been updated to use the new .razor file extension for Razor Components in this release. This update will be done in a future release.
To get started with Blazor 0.9.0 install the following:
The Blazor templates on the command-line:
dotnet new -i Microsoft.AspNetCore.Blazor.Templates::0.9.0-preview3-19154-02
You can find getting started instructions, docs, and tutorials for Blazor at blazor.net [6].
To upgrade your existing Blazor apps to Blazor 0.9.0 first make sure you’ve installed the prerequisites listed above.
To upgrade a Blazor 0.8.0 project to 0.9.0:
JSRuntime.Current
and instead use dependency injection to get the current IJSRuntime
instance and pass it through to where it is needed.We hope you enjoy this latest preview release of Blazor. As with previous releases, your feedback is important to us. If you run into issues or have questions while trying out Blazor, file issues on GitHub [7]. You can also chat with us and the Blazor community on Gitter [8] if you get stuck or to share how Blazor is working for you. After you’ve tried out Blazor for a while please let us know what you think by taking our in-product survey. Click the survey link shown on the app home page when running one of the Blazor project templates.
Thanks for trying out Blazor!
Автор: sahsAGU
Источник [9]
Сайт-источник PVSM.RU: https://www.pvsm.ru
Путь до страницы источника: https://www.pvsm.ru/programmirovanie/311343
Ссылки в тексте:
[1] ASP.NET Core 3.0 Preview 3 announcement: https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-core-3-0-preview-3/
[2] release notes: https://github.com/aspnet/Blazor/releases/tag/0.9.0
[3] .NET Core 3.0 Preview 3 SDK: https://dotnet.microsoft.com/download/dotnet-core/3.0
[4] Visual Studio 2019: https://visualstudio.com/preview
[5] Blazor: https://go.microsoft.com/fwlink/?linkid=870389
[6] blazor.net: https://blazor.net
[7] file issues on GitHub: https://github.com/aspnet/aspnetcore/issues
[8] Gitter: https://gitter.im/aspnet/blazor
[9] Источник: https://habr.com/ru/post/443394/?utm_campaign=443394
Нажмите здесь для печати.