aspnet / Templating

[Archived] ASP.NET Core templates for .NET CLI and Visual Studio. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
205 stars 79 forks source link

Update Web API templates to use new Web API conventions #45

Closed danroth27 closed 6 years ago

danroth27 commented 6 years ago

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:

Eilon commented 6 years ago

Added this to the list above:

Eilon commented 6 years ago

@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

pranavkm commented 6 years ago

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.

rynowak commented 6 years ago

Should we add [ApiController]?

danroth27 commented 6 years ago

I think we should