Blazor Component Render Modes [Pt 8] | Front-end Web Development with .NET for Beginners

  Рет қаралды 20,896

dotnet

dotnet

Күн бұрын

Пікірлер: 24
@jimvacca7101
@jimvacca7101 11 ай бұрын
One of the best explanations of render mode. Great job!!
@ivandrofly
@ivandrofly 2 ай бұрын
For curious, the tools that he is using to highlight things is called ZoomIt from microsoft
@huangjiawutw
@huangjiawutw 9 ай бұрын
thanks for the Beginners series, short video, clear explanations
@stoyandimov7914
@stoyandimov7914 5 ай бұрын
Great explanation. Thanks for using vscode as well.
@ivandrofly
@ivandrofly 2 ай бұрын
00:00 - Intro 00:27 - Static server-side rendering (SSR) 01:28 - Enhanced navigation and form handling 03:40 - Streaming rendering 06:42 - Add client interactivity 11:27 - Set up interactive WebAssembly rendering 17:20 - Enable interactivity everywhere
@kourosh234
@kourosh234 4 ай бұрын
Thank you so much for another great video. Your videos with Steven Sandersons videos are the best :) Is there an example with Blazor interactive auto render mode and custom jwt with roles?
@abdulsalamelsharif5387
@abdulsalamelsharif5387 9 ай бұрын
Thank you, This is a clear explanations
@tinpochan5547
@tinpochan5547 10 ай бұрын
So with 4 different mode - Static Server, Interactive Server, Interactive WebAssembly, Interactive Auto, when use which? This is kind of confusing... At the first impression I thought using Interactive Auto would be having some advantage on performance, but someone below stated it’s actually slower than InteractiveServer.
@muhamedkarajic
@muhamedkarajic 5 ай бұрын
Dose this mean that e.g. I have always to keep the App.razor as a ServerSide rendered component even doe I wanna only use InteractiveWebAssembly?
@arabiceasycode
@arabiceasycode 10 ай бұрын
Well explained, but Blazor behaves differently using Visual Studio, I don't know why? but using vs code in Mac it works exactly as video.
@victorcates9330
@victorcates9330 Жыл бұрын
I understand the render modes in isolation, but put together? Do the render modes interleaf safely? When things work automagically, I'm always afraid of whether I'm about to be bitten by things stopping working and suddenly having to deal with massive complexity. Is everyone else watching this with a befuddled expression or is it just me?
@Autystyczny
@Autystyczny Жыл бұрын
Don't worry, it's working. I was already trying this out. You can specify the render mode per component / page or per the whole app.
@victorcates9330
@victorcates9330 Жыл бұрын
@@Autystyczny Good to know. Thanks.
@d3vwannabe
@d3vwannabe 10 ай бұрын
I just thought Blazor is kinda similar to React up til this point. About rendering, does this mean Blazor also act kinda like a web server that serves SSR content? I suppose React does the same in development..? But in React you usually bundle and build everything into just 1 html, CSS, and JS for production. Or you could do SSR using next.js. But say in production using Blazor, if you want to have an interactive site do you either have to serve WebAsm stuff, html, CSS, js... by some generic server like Nginx, or you need to have Blazor running as a server where it will generate server side rendering and return the SSR HTML, which act like next.js? Also, isn't stream rendering something handled by the backend?
@d3vwannabe
@d3vwannabe 10 ай бұрын
A little bit confused on how it achieves stream rendering. I would appreciate further explanations/examples.
@eduardogoncalvesdossantos4323
@eduardogoncalvesdossantos4323 10 ай бұрын
In the standard project, the "IncrementCount" function with "@rendermode InteractiveAuto" is very slow on first access, it does not have the same speed as "@rendermode InteractiveServer". In subsequent accesses the increment is automatic, very fast! I thought "@rendermode InteractiveAuto" would open websocket at the same speed as "@rendermode InteractiveServer".
@wusswuzz5818
@wusswuzz5818 Жыл бұрын
Creating a blazor project (dotnet new blazor -int Auto) results in warnings like "Found markup element with unexpected name 'PageTitle'. If this is intended to be a component, add a @using directive for its namespace." These are fresh new projects therefore the warnings are curious. How do you resolve that?
@plcworker
@plcworker 4 ай бұрын
11:28 How would you do it from Visual Studio?
@fordlover49
@fordlover49 17 күн бұрын
If you add a new project using the VS project wizard, there's a drop down for interactive render mode.
@osman3404
@osman3404 Жыл бұрын
I wish there was client interactivity but without Signalr or WebAssembly.
@Autystyczny
@Autystyczny Жыл бұрын
there is to some extent. That's what [streaming rendering] does when injecting the data. Usually you'd wait to see the page until all of the data loads in but with it you don't have to. Also - the default SSR is working just fine with forms etc. so there is interactivity to some extent.
@SBDavin
@SBDavin 3 ай бұрын
Then your choices are JavaScript with a good library (jQuery?) or maybe with a framework like Htmx.
@rushas
@rushas Ай бұрын
I don't understand why he didn't use VisualStudio to show us the UI for creating those projects, but rather, he used VS Code with a terminal to create solutions.
@ivandrofly
@ivandrofly 2 ай бұрын
Another cool video about rendermodes kzbin.info/www/bejne/eZDFioOkYrSHqtk
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 35 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 243 М.
6 Reason to Skip Blazor in 2025
10:15
Deploy & Destroy
Рет қаралды 5 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 361 М.
The Blazor Competitor is Here!
15:08
Nick Chapsas
Рет қаралды 78 М.
I just tried o3-mini
6:31
ThePrimeTime
Рет қаралды 192 М.
СИЖУ БЕЗ ЕДЫ, ПЬЮ ОДНУ ВОДИЧКУ.
21:37
Быть Добру
Рет қаралды 79 М.
Черная Magic Mouse
0:53
Romancev768
Рет қаралды 807 М.
DESAFIO DOS COPOS #shorts
0:38
Natan por Aí
Рет қаралды 34 МЛН
Таким раствором работать одно удовольствие
1:00
Профессия созидатели
Рет қаралды 954 М.