Updating data in asp net core razor pages

preview_player
Показать описание
Update data on the server by posting the razor page back to the server.

Text version of the video

Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.

Slides

ASP.NET Core Razor Pages Text Articles & Slides

ASP.NET Core Razor Pages Tutorial

Angular, JavaScript, jQuery, Dot Net & SQL Playlists

Let's gift education together
Рекомендации по теме
Комментарии
Автор

Very well Explained content. Thank you sir

avinashkaushik
Автор

when i use the first approach to get the object from the posted form I get empty object instead, public IActionResult OnPost(Person person) person object is null, when i put Bind Property it works just fine. Any tips ?? THx

igorr
Автор

Hi there, I've seen MVC and Razor pages mixed with a heavy dose of javascript which makes the code complicated and very hard to maintain. We have 2 of those in our production system, would you recommend mixing JQuery and Javascript heavily with MVC and Razor?

STUPIDYOUTUBE_HIDINGMSGS
Автор

Thank you, why you don't use ms sql database for your repo? By the way you are master of masters 😊

pourianayeb
Автор

I think, it needs to be static the list and constructor of repository class of employee

a-s
Автор

how to edit and update the saved image back to database

amberyaqub
Автор

I did everything in the tutorial, but when I edit something on the Edit page, the data on the Index page doesn't change, it keeps on being the same. What do I need to do?

qifrey
Автор

How to check the modelstate is valid or not??

Uzair_Anwar
Автор

OnPost I have Name, Email, Department are Null Except id, id shows its value. How can I resolve this?

noufalkp