关于[Using Middleware to Log Requests and Responses in ASP.NET Core]的摘要:
This new app will be in ASP.NET Core 2.1 Web API, the most recent production version available at time of writing. One of our requirements is that, because this API will be used by a great many different apps with different loads, we want to be able to record requests to and responses from this API, similarly to how a court stenographer (aka court reporter) records all questions from lawyers and responses from defendants.
原文地址: https://exceptionnotfound.net/using-middleware-to-log-requests-and-responses-in-asp-net-core/