HomeНаука и техникаRelated VideosMore From: kudvenkat

ASP NET Core model validation

110 ratings | 4264 views
In this video we will discuss model validation in ASP.NET Core with examples. Text version of the video https://csharp-video-tutorials.blogspot.com/2019/04/aspnet-core-model-validation.html Slides https://csharp-video-tutorials.blogspot.com/2019/04/aspnet-core-model-validation-slides.html ASP.NET Core Text Articles & Slides https://csharp-video-tutorials.blogspot.com/2019/01/aspnet-core-tutorial-for-beginners.html ASP.NET Core Tutorial https://www.youtube.com/playlist?list=PL6n9fhu94yhVkdrusLaQsfERmL_Jh4XmU Angular, JavaScript, jQuery, Dot Net & SQL Playlists https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd
Html code for embedding videos on your blog
Text Comments (17)
Kushal Ramesh (22 days ago)
Great Tutorial. Really helpful. There is a built-in validator [EmailAddress] for email address in ASP.NET Core. You could've used it instead of Regex.
Darko Gelevski (1 month ago)
LOVE U MAN !!! not in a gay way do :D
Vivek Kumar (1 month ago)
Sir Thanks a lot for your amazing effort
cool water (1 month ago)
Thanks Venkat.
Rohan Shetty (1 month ago)
Do we have something like validation group property in dot net core. Something similar to validation controls in asp.net
gagan mudvari (1 month ago)
waiting for you next video. great series . thank you vankat.
Mm Mm (1 month ago)
thanx thanx thanx
Rob Mays (1 month ago)
very enjoyable
nasir kiyani (1 month ago)
Thank you so much sir.
Durvesh Bendale (1 month ago)
Thank you sir, i have problem in dropdownlist validations
Pravendra Singh (1 month ago)
Venkat Sir, your way to describe concept is fabulous thanks put your efforts
Dark GT (1 month ago)
Simply fantastic! As always.
Sakthi Raju (1 month ago)
Dear Venkat sir, Thanks for effort to put videos.. keep rocking ...
Garrett N (1 month ago)
Venkat, thank you as always. I have a question - if I am using EF Core, typically people do not use interfaces so you would pass along your db entity as your model properties. However, what if I only wanted to require certain values only on certain viewmodels? I cannot put the validation decorator on the db entity because then every viewmodel would use those decorators. Prior to using EF core, I would use an interface to create another class, but I do not have an interface with EF Core. Do I have to manually make a new class and manually map it to my db entity? Or use something like automapper? Or is there a cleaner way?
Mukesh KM (1 month ago)
Thank you...
Mukesh KM (1 month ago)
Thank you...
Puneet Kankar (1 month ago)
This is very helpful thanks..

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.