Mastering .NET 8 Blazor: SignalR Render Mode

  Рет қаралды 4,032

Coder Foundry

Coder Foundry

9 ай бұрын

Link to GitHub repo:
github.com/CoderFoundry/Blazo...
Render Modes Overview video:
• .NET 8 Blazor: Render ...
Server-Side Rendering video:
• Mastering .NET 8 Blazo...
-----------------------------------------------------------------------------------------
👨‍🏫 Self-Paced .NET Bootcamp Course (Includes FREE courses)
learn.coderfoundry.com/
🙌 Support the channel and become a channel member
/ @coderfoundry
📖 Buy the Book: Breaking the Code
geni.us/breakingthecode-davis
👕 Grab some CF merch
teespring.com/stores/coderfou...
🗣 Join us on Discord
​ / discord
👓 Buy the blue light blocking glasses we use at CF. Pixel Eyewear Glasses ($5 off with coupon code CODERFOUNDRY)
www.pixeleyewear.com/?ref=jsF...
💻 How to get your first coding job
coderfoundry.com/jobroadmap
🎥 The equipment we use at Coder Foundry
kit.co/CoderFoundry
DISCLAIMER: This video and description may contain affiliate links, which means that if you click on one of the product links, we’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!

Пікірлер: 15
@caseyspaulding
@caseyspaulding 9 ай бұрын
Thanks!
@CoderFoundry
@CoderFoundry 9 ай бұрын
You bet!
@rafapioli75
@rafapioli75 9 ай бұрын
Again a great video about Blazor! Thanks very much! I´d like to know how is an elegant way in terms of UX/UI to deal with the Blazor reconnect message when the SignalR is down?
@CoderFoundry
@CoderFoundry 9 ай бұрын
So you can handle that with js.
@MohiyoDeen
@MohiyoDeen 9 ай бұрын
eagerly Waiting for Authentication/Authorization (Without Identity) specially in SSR/SignalR Mode
@CoderFoundry
@CoderFoundry 9 ай бұрын
Why without Identity? Just curious what you want to do.
@MohiyoDeen
@MohiyoDeen 9 ай бұрын
@@CoderFoundry Well I do not want to use Identity Server, We prefer Database First and We have bunch of Custom Business Logics to perform before allowing a User to Register or Login.
@CoderFoundry
@CoderFoundry 9 ай бұрын
Gotcha, we will be releasing a video on identity using your own db. So, there is no indentity server. We use this all the time in mvc. However, we are waiting on the final version in October before releasing that repo.
@AndyZakk
@AndyZakk 6 ай бұрын
Is there any way to get access to the page's SignalR hub connection object? For instance in the Count example I would like to keep the button disabled until the web socket connection is established, and then enable the button.
@CoderFoundry
@CoderFoundry 5 ай бұрын
Hook into the onAfterRender method. The signalR connection is comelete when it runs. I am setting disabled to false when this completes. Which enables the button. Click me @code { private int currentCount = 0; private bool IsDisabled = true; protected override void OnAfterRender(bool firstRender) { if (firstRender) { IsDisabled = false; StateHasChanged(); } }....
@zonixdemo
@zonixdemo 9 ай бұрын
If am correct in the video you just shown server side render mode but not the actual signalR implementation in blazor like in real time data updates in two browser windows !
@CoderFoundry
@CoderFoundry 9 ай бұрын
It's a signalR connection. There is no js to open the modal. The dom state is maintained on the server. The dom is updated via a signalR connection. So if you are talking about something like push notifications like a chat window between to clients . That would be a different problem that can be achieved with signalR.
@abhishekbu1087
@abhishekbu1087 9 ай бұрын
Doesn't signalR connection uses more resource on server? compared to normal http request response cycle. Also does it require us to use redis backplane to store connection data, if we add multiple servers behind a Load balancer for scalability?
@CoderFoundry
@CoderFoundry 9 ай бұрын
I think those questions would depend on what the site does. I think Blazor client side will be the way to go for larger sites. It will use web api backend to communicate over http. I think the multiple render modes is the real strength of the framework. Specifically, the auto mode allows for client side and siglnar render modes for the same component.
@endercn6871
@endercn6871 7 ай бұрын
Mastering .NET 8 Blazor: Web Assembly Render Mode
9:50
Coder Foundry
Рет қаралды 2,9 М.
I’m just a kid 🥹🥰 LeoNata family #shorts
00:12
LeoNata Family
Рет қаралды 20 МЛН
.NET 8 Blazor: Render Modes + Demo App Download
20:35
Coder Foundry
Рет қаралды 13 М.
2023 Computer Science Graduate in Today's Job Market!
14:07
Jordan the CS
Рет қаралды 12 М.
Mastering .NET 8 Blazor: Server-side Rendering (SSR)
23:55
Coder Foundry
Рет қаралды 9 М.
Real-Time Revolution: SignalR in Action - Kevin Griffin - NDC London 2022
1:06:04
On .NET Live - Exploring Oqtane for Blazor and .NET MAUI
1:01:48
What is .NET and C#?
15:10
Coder Foundry
Рет қаралды 77 М.
Blazor JavaScript Interop (Easy How To)
27:52
Coder Foundry
Рет қаралды 4,9 М.
The New Way of Calling Your Code in .NET 8 Is INSANE
12:34
Nick Chapsas
Рет қаралды 134 М.