标签: asp.net-core-mvc
ASP.NET MVC在RoutesCollection上有方法RouteExistingFiles和IgnoreRoute:
routes.RouteExistingFiles = true; routes.IgnoreRoute("{*relpath}", new { relpath = @"(.*)?\.(css|js|htm|html)" });
ASP.NET Core不再具有这些方法。如何在动态内容之前让静态文件服务?