Blazor in .NET 8 | Ep17. Form submission and model binding in Blazor SSR

preview_player
Показать описание
🎁ALL-ACCESS Subscription: Unlock access to all of my courses, both now and in the future at a low $19.99 / month.

💎 Blazor Deep Dive in .NET 8 - From Beginner to Advanced

💎 Learn .NET Core MVC in .NET 8 by building a Market Management System

💎 Complete Guide to ASP.NET Core Identity in .NET 8

💎 Complete Web API Course in .NET 8

💎 SQL Masterclass: From Zero to Hero with SQL Server

💎Learn .NET MAUI while creating a Contacts App in .NET 7:

🔥Learn Blazor while creating an Inventory Management System in .NET 6

💎Complete Blazor Course: Build an e-commerce app with ASP.NET Blazor and Clean Architecture

👍Clearn Architecture Course

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

Thanks for this but I have a question.If I want to adopt this for an form that would email all the field data to an email address, would this approach work?

RobCodesNY
Автор

Instead of using the attribute to bind the server properly to the form submission, would it be possible to keep the property ti the old value and receive the form submission as a function parameter?
This could be useful to avoid adding hidden fields for id and other possibly missing fields in case if partial updates.

ilFusta
Автор

Hi man,

In order to display the text when you click edits,

I just need to use data-bind?

RNPCandCellphoneRepairShop
Автор

if we inject the navigation manager and call it after the submit method is called, blazor is throwing an exception. Why so?
private void Submit()
{
if (currentServer != null)
{
ServersRepository.UpdateServer(currentServer.ServerId, currentServer);

}


}

atirah
Автор

Yo man, thanks for video, just fix your title of this one

antoniosupan