© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4y ago
•
1 reply
Dreams
❔ Does Required attribute work for controller parameters?
If the POST is missing either
Email
Email
or
Password
Password
, does ASP
.NET return a 400
? If not
, what reason does the author have for putting
Required
Required
attributes on a DTO
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
✅ required attribute vs [Required] annotation
C
C# / help
12mo ago
Why does this code have a Required attribute?
C
C# / help
4y ago
Roslyn analyzer for checking if method contains proper parameters based on used attribute.
C
C# / help
4y ago
How do these parameters even work?
C
C# / help
2y ago