I\'ve created 2 projects:
What I did is I added my custom mes
As shown below in the famous ASP.NET Web API: HTTP Message LIFECYLE
diagram by Microsoft, the ASP.NET Web API has an additional extensibility point known as Message Handlers
(section HTTP Message Handlers
).
So far ASP.NET MVC (5 currently) doesn't provide such extensibility point.
[Link to the full size PDF poster]
The only extensibility point that the MVC and WebAPI share (or at least conceptually) are Filters. Beware that MVC and WebAPI have different ways to register filters and this puts many people in a similar situation as the one you are in right now.