I ve read that UseRouting matches a request to an endpoint, and UseEndpoints executes the matched endpoint. However, we have middleware in this order:
`...Another Middleware
UseRouting();
app.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}");
app.Map("/something", (context) => context.Response.WriteAsync("Hello World!"));
...Another Middleware`
因此,如果在马普勒罗特省援引使用,则使用方法如何与要求(如https:// localhost:5000/Home/Index)相匹配。 换言之,使用方法如何知道这一终点(Home/Index)来进行比较?”
我没有尝试过任何事情,因为这是一个理论上的问题。