How to log requests in ASP.NET WebAPI using OwinMiddleware
We will add ApiRequestLoggingMiddleware
to the OWIN pipeline to intercept requests.
This middleware calls IApiRequestLoggingService
which handles storage concerns
IApiRequestLoggingService
Interface for logging the requests
ApiRequestLoggingMiddleware
Owin middleware