Capturing raw HTTP POST Data during Exception
问题 I have a WCF Service hosted in IIS/ASP.NET that accepts HTTP Post ( not form post ) of serialized objects. If the client sends malformed requests (eg they're not serializing the object correctly) I'd like to log the message sent up. We're already using ELMAH to capture unhandled exceptions, so simply attaching the post data would be the easiest option. I can get the current HttpContext during an exception, however this does only contains the HTTP Header information. My question is this: Is