Exciting Blazor Updates in .NET 8 Preview 5

preview_player
Показать описание
In this video I demonstrate the use of the new Blazor Web App template. Microsoft is planning to combine Blazor Server and Blazor WebAssembly into one project type. By default your app will behave as a standard ASP.NET Core Razor app, but you will be able to designate specific components on pages to use either Blazor Server side Rendering or Blazor Web Assembly, or both, automatically.

.NET 8 Preview 5 supports Blazor Server Side rendering only for now. In this video I demonstrate step by step how to make it work.

This is the first step in the exciting transition to Blazor "United" that hopefully will be included in the final .NET 8 release in November.

You can download .NET 8 Preview 5 here:

And Visual Studio Preview 2022 here:
Рекомендации по теме
Комментарии
Автор

Thanks Tom! It's a good code example of one of the new main features.

larrymcfarlane
Автор

Nice to see the demo using server render mode, you can also include the web assembly render mode for the same example.

MicrosoftDotnet-nf
Автор

Horrible that the template doesn’t “work” out of the box and in order to get Blazor working you have to magically know what to add in the configuration because the template doesn’t tell you. In my view the template should at least be setup for Blazor Server by default and then show instructions for rendering a portion of the page using WebAssembly.

Codestud
Автор

Brilliant. Thanks a lot. So, is this Blazor United?

imadabab
Автор

Why is it alll about Blazor??? So you cannot make a presentation about general BCL?

anm