Skip to main content
Amaël BERTEAU

Main navigation

  • Home
  • News
  • Software Engineering
  • Entrepreneuriat
  • Maker
  • Misc
  • Personal Projects
  • About me
    • Bio
    • Curriculum Vitae
    • Skills
    • Likes
    • My Values
    • Quotes
    • Favorite Books
    • Favorite Tools
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Software Engineering

How to log requests in ASP.NET WebAPI using OwinMiddleware

By aberteau , 27 July, 2017

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

OwinStartup

Tags

  • ASP.Net WebAPI
  • Owin
  • OwinMiddleware

Comments

RSS feed
Powered by Drupal