.NET 8 Blazor New Forms Functionality Explained
Vložit
- čas přidán 19. 06. 2024
- Blazor 8 Introduces improved Server Side Rendering for Blazor Forms components. This video explains how to implement Forms with Validation that will function without the use of Blazor Server Interactive Rendering or WebAssembly.
This video also discusses the new Enhanced Form functionality that results in no full page refreshes for form submission even when using Server Side Rendering.
If you are a beginner or experienced with Blazor this video is for you.
(This is a re-upload with fixed audio)
00:00 Intro
01:00 Demo
02:43 Source Code Explanation Beginning
04:15 Model Class
05:37 Form Input Components
10:34 Custom Validation Attributes
15:06 Additional Validation
17:18 Enhanced Form Feature
19:40 Enabling Interactivity
Source Code available here: github.com/codingwithtom1/Bla... - Věda a technologie
Kind of interesting that we can now code like it was 1995 all over again! Just a lot faster, smarter and without the flicker!!! I was trying to figure out how to get dropdowns (and listboxes) to be responsive using pure static side rendering your code example and explanations were very helpful. Thanks!
Well explained, Thanks. Tom
Happy 1k! 🎉🥳
Good work. Can you please create a video for custom authentication with cookie/local storage/session storage & without identity
Nice video! But there is a simpler way to provide the options for the select list:
@foreach (Option o in pizzasizes)
{
@o.Display
}
Nice that’s definately a better way to do to it - thanks!
Thanks. How about a dropdown with checkboxes like Excel filters?
Great stuff. But just double checking one question, the @code section in blazor runs on the server right? So it's secure to handle sensitive data here.
I have a suggestion. Could you please increase the volume of your audio? The video quality is fine, but the audio is quite low and I’m having difficulty hearing it. Thank you.
Now I'm wondering if most non-wizard coders are all secretly thinking about opening a 🍕 shop😂
Good explanation but I am getting an error when I run your code: Error RZ9985 Multiple components use the tag 'InputText'
Any Ideas?
Thank you