📅  最后修改于: 2022-03-11 14:48:53.038000             🧑  作者: Mango
代码示例1
app.UseWhen(context => context.Request.Path.StartsWithSegments("/api"), appBuilder =>
{
appBuilder.UseMiddlewareTwo();
});