摘要: app.Map("/second", _app => { _app.Use(async (context,next)=>{ await context.Response.WriteAsync("second middleware\r\n"); await next.Invoke(); }); }); 阅读全文
posted @ 2020-11-04 21:55 MrJohnson 阅读(1491) 评论(0) 推荐(1) 编辑
摘要: app.Use(async (context,next) => { await context.Response.WriteAsync("first middleware"); await next.Invoke(); }); 阅读全文
posted @ 2020-11-04 21:43 MrJohnson 阅读(307) 评论(0) 推荐(0) 编辑