Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[FromBody]
attributeValue | |
---|---|
Rule ID | ASP0024 |
Category | Usage |
Fix is breaking or non-breaking | Non-breaking |
A route handler has multiple parameters with the [FromBody]
attribute or a parameter with an [AsParameters]
attribute where the parameter type contains multiple members with [FromBody]
attributes.
Route handler has multiple parameters with the [FromBody]
attribute.
To fix a violation of this rule, remove [FromBody]
attributes from all but one parameter.
Do not suppress a warning from this rule.
ASP.NET Core feedback
ASP.NET Core is an open source project. Select a link to provide feedback:
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!