Red Gate forums :: View topic - Profiling against IISExpress 7.5
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

Profiling against IISExpress 7.5

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Jason.West



Joined: 24 Aug 2011
Posts: 3

PostPosted: Wed Aug 24, 2011 4:42 pm    Post subject: Profiling against IISExpress 7.5 Reply with quote

I can't seem to figure out how to make this work.

Developing on Server2008 which is x64
Visual Studio 2010
ANTS Performance Profiler 6.3
The app runs through IISExpress 7.5 as an option
in the project properties.

Reason I ask about this is there the app behaves differently
on Cassini and we are not allowed to run full blown IIS on
our development box.

Thanks.
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 546

PostPosted: Wed Aug 24, 2011 6:17 pm    Post subject: Reply with quote

It's not clear what the exact problem you are having is.

What happens when you click on "Start Profiling"?
Back to top
View user's profile Send private message
Jason.West



Joined: 24 Aug 2011
Posts: 3

PostPosted: Wed Aug 24, 2011 6:23 pm    Post subject: Reply with quote

The IISExpress is greyed out as a choice to attach to because it
seems there is a constraint only allowing .Net 2.0. Now, I don't
know that is actually case, only what I can infer from the screens.
Is there anything I can give/show/steps to help find the real issue?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6580

PostPosted: Thu Aug 25, 2011 9:20 am    Post subject: Reply with quote

Nobody has tested Profiler with IISExpress but supposedly you can profile IISExpress.exe as a desktop application. Actually in theory it should work a lot better than the current IIS support, which is not without its' problems.
Back to top
View user's profile Send private message
Laura Morley



Joined: 22 Jun 2011
Posts: 34
Location: Red Gate Software

PostPosted: Thu Aug 25, 2011 9:27 am    Post subject: Reply with quote

As Brian says, if you've been trying to profile using the "Attach to process" profiling mode, you may get better results instead by choosing the ".NET executable" application type on Application Settings:

1. In the ".NET executable" field, tell ANTS to profile the IIS worker process (probably something like C:Program Files (x86)IIS Expressiisexpress.exe)

2. In the "Arguments" field, specify the app you want to profile - e.g. /site:"MyCMSSystem"

Does this help at all?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6580

PostPosted: Thu Aug 25, 2011 9:35 am    Post subject: Reply with quote

There are a few different ways you can launch a website with IISExpress. Please reference the MS help for a description of the arguments:
http://learn.iis.net/page.aspx/870/running-iis-express-from-the-command-line/
Back to top
View user's profile Send private message
Jason.West



Joined: 24 Aug 2011
Posts: 3

PostPosted: Thu Aug 25, 2011 4:57 pm    Post subject: Reply with quote

OK, great. I can use the command line option and got that working just fine.

I guess it would be nice if there was a hook like how it works for the Cassini development server.

In case anyone else has the same problem. I found using the /config
and a customized applicationhost.config file to be the easiest for the
IISExpress command line switches.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group