Core API Controller to catch all unknown routes
问题 I have a Core 2.2 API with a bunch of existing controllers. What i am now trying to do is add a new controller that acts similar to a catchall route, but only for that controller (and doesn't disturb the routes of the existing controllers) . In my existing controller i am defining the routes as controller attributes [Route("api/[controller]")] [ApiController] public class SandboxController : ControllerBase { [HttpGet("Hello")] public IEnumerable<string> Hello() { return new string[] { "Hello