I’m writing a logging component and one of my methods I want to implement is being able to dump the information from an ASP.NET request object (Session variables, POST\GET variables, Custom Headers, URL from request, authorized user, client ip, etc). Rather then writing code to parse this information out of the request object, I was wondering if there was a utility class to do this?
Share
You could look at serializing the object but that’s going to be overkill. Better to just log the pieces of data you need.