.NET 8 Blazor New Forms Functionality Explained

preview_player
Показать описание
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

Рекомендации по теме
Комментарии
Автор

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!

charliehager
Автор

How to add a second button with a slightly different function?

muheebar-rahman
Автор

Nice video! But there is a simpler way to provide the options for the select list:
<InputSelect
<option selected="@(formModel!.Size == null)" value=""></option>
@foreach (Option o in pizzasizes)
{
}
</InputSelect>

BenShemmeld
Автор

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

heididaniels
Автор

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.

TellaTrix
Автор

Good work. Can you please create a video for custom authentication with cookie/local storage/session storage & without identity

cjt
Автор

Now I'm wondering if most non-wizard coders are all secretly thinking about opening a 🍕 shop😂

jimmcneal