ASP NET Core REST API Model Validation

preview_player
Показать описание
Model validation in ASP.NET Core REST API using the built-n validation attributes.

Text Article and Slides

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.

Blazor tutorial for beginners

Blazor Blog

Angular, JavaScript, jQuery, Dot Net & SQL Playlists

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

i now saw 17 parts of bazor tutorial.i loves. you are good teaher

majidcsharp
Автор

There are more valuable things in the world than gold, exemplary kudvenkat.<3

_mehmet
Автор

I think we need to add "await" on : var emp = await

Godfatherfx
Автор

Hi, I reckon 5:28 might be emp.Result instead of emp itself, I tried emp and it always went in the if block whether the email was duplicated or not, thanks for sharing!

tommyh
Автор

Keep up the amazing video's, I'm loving this series!

markashcroft
Автор

Hey Everyone its if(emp.Result != null). Thats why a valid create is returning the 400 error

DanceManAlex
Автор

At 6:32 for some reason Response only showed "Bad Request" and not the "Employee email already in use." VS 2019 v.16.6.2, Postman v7.26.0.

javaguitarist
Автор

Why not setup a method in your repository to accept a predicate and pass a lambda expression to get specific data? EG: x => x.Email == email or x.EmployeeId == id . I'm a big fan of your videos for years now. I learn so much from you. Keep up the good work.

sunilanthony
Автор

thank you so much sir for your effort i am following you from basic c# thank you again please sir upload the next slides soon

faixalnazir
Автор

Great tutorial sir, thanks for sharing :)

BCLBlazorCollectionsLibrary
Автор

Great Video!
Is there a way to have all the validation rules apply together? That way the user would get all the problems reported, rather than getting past the Model errors, only to find the unique email requirement?

darrengrafton
Автор

Sir please make videos on flutter after this course. Thank you

shahidwani
Автор

Hi Venkat! Sorry for a super noob question! But if we are using functions directly from EmployeeRepository.cs into our controller class, then why do we need its injection class that is IEmployeeRepository? I am sure i am unable to see the bigger picture, please let me know, if you can help!

aradhya
Автор

Hi Venkat. I have one doubt. How to trigger those errors from web api to blazor forms in unobtrusive manner. Please...

vinothdharmaraj
Автор

thank you so much for your efforts.
when I try to create new Employee with Email Already in use gives An unhandled exception, duo to BadRequest in response if email exists in the database.

ابوعليا-ند
Автор

why my windows 10 does not support instalation of vs core :(

ihsansaidi
join shbcf.ru