News
Right-click on the Controllers solution folder and click Add –> Controller to create a new Web API controller. Select the “Web API 2 Controller – Empty” when prompted for in the window ...
Consider the following Web API controllers, which have been named AuthorsV1Controller and AuthorsV2Controller respectively. public class AuthorsV1Controller : ApiController ...
You may want to use attributed routing if you need many custom routes in a controller, or just want to have a more SEO-friendly routes. Web API 2 includes a few different types of routing attributes.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results