Closed danroth27 closed 6 years ago
Added this to the list above:
@danroth27 / @rynowak / @pranavkm - should we get this into Preview1? Seems like a simple change that will help us get feedback on the greatness of [ApiController]
and friends
With the exception of the first bullet not being fully fleshed out (we have the validation filter, we don't do RFC7807), there's enough in here to start getting some feedback.
Should we add [ApiController]
?
I think we should
We are adding some new [Web API specific conventions]() that we will need the Web API project and time templates to react to.
We are adding
[ApiController]
attribute as the way to opt-in to new API specific conventions and behaviors that are tuned around best practices for APIs.This will include:
[FromBody]
for complex types,[FromRoute]
when possible, otherwise[FromQuery]
)