They should have attribute routing applied on them like [Route("someUrl/[controller]")] . The controller of a Web API looks like: [ApiController] ...
確定! 回上一頁