.NET 8 Blazor: Render Modes + Demo App Download

  Рет қаралды 13,747

Coder Foundry

Coder Foundry

9 ай бұрын

What are render modes in Blazor? When should you use them? We built an app you can download and see how each render mode works.
Link to GitHub repo:
github.com/CoderFoundry/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!

Пікірлер: 50
@betterlifeexe4378
@betterlifeexe4378 9 ай бұрын
My wife is starting to learn C# and HTML at the same time, and i've already got her making a blazor shopping cart. It's really amazing how much you can accomplish with go tutorial and a good framework like blazor.
@CoderFoundry
@CoderFoundry 9 ай бұрын
That is awesome!
@DarkOutsideNow
@DarkOutsideNow 5 ай бұрын
Amazing video. As a new coder, I'm making a professional web app by myself. I understand the different modes better, their limitation, and how Auto places it's role in Blazor. The video covers the render modes , understanding the communication per rendermode, and helpful visuals. I am so excited that I found your video. Its what I needed.
@nickmillerable
@nickmillerable 16 күн бұрын
This is a great idea for a sample app, great job.
@CoderFoundry
@CoderFoundry 14 күн бұрын
Glad you think so!
@emcwealth
@emcwealth 6 ай бұрын
i've been using blazor professionally since .NET Core 3.1.... ever since I first saw it, I knew in my gut that this was going to be the future for web development (i've been writing software for 25+ years)... it was that good back then... and now it's pretty phenomenal...!
@CoderFoundry
@CoderFoundry 6 ай бұрын
Yes it is great.
@MrFEMGM
@MrFEMGM 6 ай бұрын
Very useful video and example, thanks a lot. Blazor is really an excellent choice for many cases.
@CoderFoundry
@CoderFoundry 6 ай бұрын
Glad it was helpful!
@mohammadmz1058
@mohammadmz1058 9 ай бұрын
Excellent video, very good explanation.
@CoderFoundry
@CoderFoundry 9 ай бұрын
Glad it was helpful!
@coderbdev
@coderbdev 9 ай бұрын
Very helpful. Thanks :)
@CoderFoundry
@CoderFoundry 9 ай бұрын
Glad we helped. We will make more.
@FearGod123
@FearGod123 7 ай бұрын
Thank you very much !
@CoderFoundry
@CoderFoundry 7 ай бұрын
You are welcome!
@richardc215
@richardc215 6 ай бұрын
Good stuff.
@CoderFoundry
@CoderFoundry 6 ай бұрын
Thanks!
@kvelez
@kvelez 6 ай бұрын
Cool
@CoderFoundry
@CoderFoundry 6 ай бұрын
Thanks
@enriquesneffels3053
@enriquesneffels3053 9 ай бұрын
​ Hello, @CoderFoundry ! Do you have any plans to update your self-paced bootcamp online to .net 8 and the latest version of C#, and Blazor? I saw the course, but it looks outdated. It doesn't have Blazor, and it shows .Net 6. I would like to learn C# and Xamarin with you, sir.
@CoderFoundry
@CoderFoundry 9 ай бұрын
We have a .net 7 blazor course that builds an app called ai chef. It uses blazor wasm, c# web api, and the open ai api. The very latest production version of .net. .Net 6 mvc is still relevant. There are no real changes to mvc under .net7. So we kept it the same. .Net 8 has not been released yet. It's still in preview. We will create new .net 8 content in early 2024. Since .net 8 will not be released until November 2023. We have to wait until it's ready before we can record new content. I hope that helps.
@enriquesneffels3053
@enriquesneffels3053 9 ай бұрын
@@CoderFoundry thanks so much for clarifying. I
@waleedbensumaidea3947
@waleedbensumaidea3947 5 ай бұрын
Thank you so much. I'm learning Blazor for the first time on NET 8. I start working on enterprise application using blazor net8, but I got confused by those render modes. Like which render mode should i choose for each page in my project. Also because there is two projects Server and Client. Here comes new questions about pages location. Where should i put my pages. Because there is two folders called Pages in Both Server project and client Project. 😂 Sorry, but i feel like i lost in Blazor. And if i put most my pages in client project but i let their render mode to interactiveServer Does that mean no matter where pages are located, the important thing is render mode
@CoderFoundry
@CoderFoundry 5 ай бұрын
You need client and server projects. We are releasing a course soon that will help.
@sammynava5357
@sammynava5357 6 ай бұрын
When testing the SSR - Stream page on my development PC (after uncommenting the delay), I noticed that the "placeholder effect" only works when using Kestral to run the solution. If I use IIS Express, the page does not load at all until the delay is over. Is that expected behavior?
@CoderFoundry
@CoderFoundry 6 ай бұрын
I just tried it and that seems to be the case. In production, it works as expected.
@maacpiash
@maacpiash 9 ай бұрын
Can we do AOT build for auto mode, i.e. initialize with SSR, then download WASM files (instead of DLL files and the Mono runtime) in the background?
@CoderFoundry
@CoderFoundry 9 ай бұрын
So auto mode will run the component first with SignalR. The reason that it does not use SSR is because interactivity has to be coded with js. SignalR and Wasm will use identical code base. The only difference is the render mode attribute. With Auto mode the component first runs with SignalR then in the background the files needed for WASM are downloaded.
8 ай бұрын
​@@CoderFoundryIs there an automatic hand-off between server and wasm versions when the files are ready? Or is the component stuck on server mode until navigation/refresh?
@dawiemos
@dawiemos 7 ай бұрын
I keep on getting this error: Severity Code Description Project File Line Suppression State Details Error CS1061 'IRazorComponentsBuilder' does not contain a definition for 'AddServerComponents' and no accessible extension method 'AddServerComponents' accepting a first argument of type 'IRazorComponentsBuilder' could be found (are you missing a using directive or an assembly reference?) Server C:\Users\XXXX\source epos\EmboBlazorRenderModes\Server\Program.cs 9 Active
@CoderFoundry
@CoderFoundry 7 ай бұрын
This built with rc1 and rc2 has been released. We have a rc2 branch on github
@dawiemos
@dawiemos 7 ай бұрын
Thank you for the video and the reply@@CoderFoundry
@ProDevelopmentPK
@ProDevelopmentPK 7 ай бұрын
What If entire Application is Server Side Interactive but I want to make one Component like Login a Static Server. As it doesn't have any attribute how can I do this ?
@CoderFoundry
@CoderFoundry 7 ай бұрын
Yes. Login would be interactive. But you could for example have a static home page. That is just html and links. The sample actually does this out of the box. So you can mix any of the render modes.
@Blr046
@Blr046 7 ай бұрын
@attribute [RenderModeServer] is giving compile error in MovieListSignalR.razor Error (active) CS0246 The type or namespace name 'RenderModeServerAttribute' could not be found (are you missing a using directive or an assembly reference?)
@CoderFoundry
@CoderFoundry 7 ай бұрын
This changed with rc2 to @attribute [RenderModeInteractiveServer]
@Blr046
@Blr046 7 ай бұрын
@@CoderFoundry Thanks a lot. I liked the LIVE Coding video to keep the razor files clean. Could you please demonstrate the API project as well for this series along with a basic CRUD operations?
@CoderFoundry
@CoderFoundry 7 ай бұрын
We will do more coding focused videos. We also have a new course coming out in Jan 2024 that will cover everything.
@Sladeofdark
@Sladeofdark 9 ай бұрын
Does WASM have the same problems as Silverlight?
@CoderFoundry
@CoderFoundry 9 ай бұрын
Silverlight was a plug-in technology. So they are not the same in any way. The reason silverlight was deprecated along with flash was plugins were removed by the browser venders. Wasm is an approved language for all browsers. Its a standard the same as javascript is. We build wasm apps with all api endpionts, CSS and html. Wasm sits in the middle and updates the dom so we don't have write dom update code in js. We will build apps in a modern stack and it is part of the specification for browsers. It is going to be fantastic.
@mouradaissani8957
@mouradaissani8957 9 ай бұрын
not the same at all
@ericblankenburg
@ericblankenburg 9 ай бұрын
Blazor is not a plugin. It uses web assembly, which is a standard part of all modern browsers.
@tjf7101
@tjf7101 9 ай бұрын
Possibly dumb Q. This is something the September cohort will be building?
@CoderFoundry
@CoderFoundry 9 ай бұрын
No it's in github as a public repo
@AmirImam-ir5gb
@AmirImam-ir5gb 9 ай бұрын
Blazor is the best front end framework, but it is not popular here in the middle east (Egypt for example). I think we need some support to replace flutter with Blazor
@ProDevelopmentPK
@ProDevelopmentPK 7 ай бұрын
Using .NET8 RC2 I created a Blazor Server App with Global Interactivity and with Identity Authentication, then I added MudBlazor to Make it look better and Layout worked but not the Interactivity until I set it up in App > Routes and If I do that then Identity's Login component stops working. This is a total mess there is no documentation on how to solve this, Without Interactivity I can't validate Register/Login Components and Can't show Snackbar Message or Check Boxes. I think you should make your next video playing with Authentication and Interactivity with Blazor Server App.
@CoderFoundry
@CoderFoundry 7 ай бұрын
We are doing a live coding session Monday but authentication is not this code along. We are building the course now that does include auth.
@ProDevelopmentPK
@ProDevelopmentPK 7 ай бұрын
@@CoderFoundry Looking forward to that Session and course. There is also CustomAuthenticationState thing in Blazor may be include that as well in your course. So, we don't use Identity stuff at all (Its Tables and Code First thing)
@CoderFoundry
@CoderFoundry 6 ай бұрын
The course will cover indentity in detail. And it will also build a visual studio template, so instead of using the web app as a starting you start with web app plus db and indentity. Makes it easy to start new projects.
@CoderFoundry
@CoderFoundry 6 ай бұрын
At the time I'm writing this, you can not use global interactivity with identity. But this is a good thing it makes these pages really fast.
Blazor: Why 2024 Is The Year Of Blazor 🚀
9:40
Coder Foundry
Рет қаралды 23 М.
Signals Unleashed: The Full Guide
1:39:24
Rainer Hahnekamp
Рет қаралды 15 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 5 МЛН
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 16 МЛН
Mastering .NET 8 Blazor: SignalR Render Mode
11:15
Coder Foundry
Рет қаралды 3,9 М.
Mastering .NET 8 Blazor: Server-side Rendering (SSR)
23:55
Coder Foundry
Рет қаралды 9 М.
Brutally honest advice for new .NET Web Developers
7:19
Ted's Tech
Рет қаралды 63 М.
Create Beautiful UX optimized Blazor Apps with Auto Admin pages
14:24
Mastering .NET 8 Blazor: Web Assembly Render Mode
9:50
Coder Foundry
Рет қаралды 2,9 М.
Is Blazor Better than React?
14:25
Gavin Lon
Рет қаралды 42 М.
How To Create An App With CHATGPT For Free In Minutes
8:03
AI Made Easy
Рет қаралды 277 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 723 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 5 МЛН