Logging raw HTTP request/response in ASP.NET MVC & IIS7

Definitely use an IHttpModule and implement the BeginRequest and EndRequest events. All of the “raw” data is present between HttpRequest and HttpResponse, it just isn’t in a single raw format. Here are the parts needed to build Fiddler-style dumps (about as close to raw HTTP as it gets): request.HttpMethod + ” ” + request.RawUrl + … Read more