C
C#3y ago
Dreams

❔ Does Required attribute work for controller parameters?

If the POST is missing either Email or Password, does ASP.NET return a 400? If not, what reason does the author have for putting Required attributes on a DTO?
1 Reply
Accord
Accord3y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?