Skip to main content

irhadbabic.com

  • Programming / Software Engineering
    • Javascript
    • .NET
    • Hacking
  • Photography, Video and Audio
  • Life & Stuff
    • Adventure
    • Fun

Tag: global.asax.cs

How to intercept all incoming requests with WebAPI

July 5, 2017August 3, 2017 Irhad Babic Leave a comment

As a part of a bigger task, I had to intercept all of the incoming client requests to our WebAPI controllers. I considered several options, like fiddling with HttpModule, or using the Application_BeginRequest method in Global.asax.cs, but settled for whole another one. Basically what I suggest you do is create a public class which inherits […]

Read More

Recent Posts

  • Web API global exception logger/handler (with Loggly)
  • How to store data per request with WebAPI
  • How to intercept all incoming requests with WebAPI
  • Funny thing about “The One With Where Paul’s The Man” Friends episode
  • Waiting for Iftar Cannon Over Sarajevo
  • Facebook
  • Twitter
  • LinkedIn
  • Instagram
  • 500px
irhadbabic.com All rights reserved. Theme by Colorlib Powered by WordPress