1

I am trying to get some performance metrics for various controls (.ascx) that are on an ASP.NET webforms page. There's no problem with the whole page, but for user controls I can't get a good breakdown.

I thought the obvious thing to do was to add the step MiniProfiler.Current.Step in the page load, and then to dispose of it in the pre-render of unload, but that just results in a timing for the full page.

Is there a reliable way to time an .ascx control using MiniProfiler?

0

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.