public class ProductsController : ApiController { //Web API methods defined in this class }
When creating a Web API controller class, is it necessary to end the name of controller class with the stringcontroller? I have been doing it always as a practice but not sure if it can be made to work without this suffix.