ASP.NET Core Response.End()?
问题 I am trying to write a piece of middleware to keep certain client routes from being processed on the server. I looked at a lot of custom middleware classes that would short-circuit the response with context.Response.End(); I do not see the End() method in intellisense. How can I terminate the response and stop executing the http pipeline? Thanks in advance! public class IgnoreClientRoutes { private readonly RequestDelegate _next; private List<string> _baseRoutes; //base routes correcpond to