We track the total time it takes to respond to a request. We have implemented the added custom header: request.headers.add("reqKey",key)
with a unique request key in the Application_AcquireRequestState of our global.asax.cs.
When Application_PostRequestHandlerExecute hits this request, it pulls out a custom header using a unique key and uses this record for the full response time. Many other things are also recorded, such as username, form data, etc., and not just simple timings.
This currently works fine when the code works in IIS 7.5. However, when it runs on the ASP.Net Development server, it throws an exception Operation is not supported on this platform.
Our Prod is IIS 7, and how do I get around this error?
source
share