profiling a web page with querystring arguments

Code profiling for .NET developers.

Moderators: AndrewH, melvyn.harbour, james.billings, Laura Morley, dene.boulton

profiling a web page with querystring arguments

Postby tschlarm » Sat Jul 21, 2012 8: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?
tschlarm
 
Posts: 15
Joined: Tue Nov 28, 2006 10:24 pm

Postby Brian Donahue » Mon Jul 23, 2012 9: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: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby tschlarm » Tue Jul 24, 2012 4: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.
tschlarm
 
Posts: 15
Joined: Tue Nov 28, 2006 10:24 pm

Postby dom.smith » Wed Jul 25, 2012 5: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,
Red Gate Software.
dom.smith
 
Posts: 95
Joined: Thu Jun 03, 2010 5:54 pm
Location: Cambridge, UK

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

Thanks. That's all I can ask.

Thanks for all your efforts.
tschlarm
 
Posts: 15
Joined: Tue Nov 28, 2006 10:24 pm


Return to ANTS Performance Profiler 7

Who is online

Users browsing this forum: No registered users and 1 guest