profiling a web page with querystring arguments

Code profiling for .NET Developers

profiling a web page with querystring arguments

Postby tschlarm » Sat Jul 21, 2012 7:57 pm

I searched this forum and could not find any help for this issue.

I guess I'm missing something. I'm profiling an ASP.NET 4 application with the web development server (or IIS Express). I'd like to pass a query string arguments to the page (not in the root folder) I want to profile, but there doesn't seem to be a box on the 'New Profiling Session' dialog. If I append a '?arg=value' to the path the 'Start Profiling' button is greyed out.

I suspect a redirect page would work but seems needlessly silly. Launching an intermediate page that doesn't take arguments and having to modify the string in the URL bar works also seems a bit off.

Other project types have an argument box so why not web applications?

Any suggestions?
Posts: 19
Joined: Tue Nov 28, 2006 9:24 pm

Postby Brian Donahue » Mon Jul 23, 2012 8:15 am

The URL box filters out anything that would normally appear in a traditional file name (ends with *.asp|*.aspx|*.htm, etc), so you cannot enter querystring values there. There is nothing to stop you, once the browser starts, to manually put the query string into the browser's address bar.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Postby tschlarm » Tue Jul 24, 2012 3:27 am

True, which is what I am doing. I am only saying this is not really optimal and an argument input box would be a welcome enhancement to the dialog should someone at RG care to enter it into the bugbase.
Posts: 19
Joined: Tue Nov 28, 2006 9:24 pm

Postby dom.smith » Wed Jul 25, 2012 4:04 pm

Thanks for your feedback. I've added this request to our bug system, where it has internal reference PP-2259. Unfortunately, I can't promise an immediate fix but it will be considered when we are planning the next version.
Dominic Smith,
Project Manager,
Posts: 107
Joined: Thu Jun 03, 2010 4:54 pm
Location: Cambridge, UK

Postby tschlarm » Wed Jul 25, 2012 4:56 pm

Thanks. That's all I can ask.

Thanks for all your efforts.
Posts: 19
Joined: Tue Nov 28, 2006 9:24 pm

Return to ANTS Performance Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests