2

Visual Studio >> Debug menu >> Start performance analysis doesn't work with a HttpHandler because it cannot be run by itself. The error is something like this:

getting asp.net information failed. 'http://localhost/myprojrct/VSEnterpriseHelper.axd' returned error (500 internal server error)

Also attaching to w3wp.exe via profiler only profiles CPU.

How is it possible to run performance analysis on a HttpHandler asp.net project (I don't use ashx file and there's no asp.net page, just a class which implements IHttpHandler)

1 Answer 1

0

The simple answer is to move your processing logic out of your IHttpHandler implementation and into a class that can be tested with Profiler. Keep your footprint for the handler as small as possible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.