-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templates
Description
Describe the bug
I have an interface, and accept what is an entity class PersonModel object, the object of property I call them to verify the label Required, this want to controller performs ModelState. IsValid to verify the model, but seems to request, does not go to the controller, automatic validation for me directly, I think I manually control the validation, could you tell me what method? Thank you very much!
To Reproduce
Further technical details
- ASP.NET Core version: 2.2
- Include the output of
dotnet --info - The IDE (VS / VS Code/ VS4Mac) you're running on, and it's version: vs2019
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templates