| Author |
Message |
Jason.West
Joined: 24 Aug 2011 Posts: 3
|
Posted: Wed Aug 24, 2011 4:42 pm Post subject: Profiling against IISExpress 7.5 |
|
|
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 |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 443
|
Posted: Wed Aug 24, 2011 6:17 pm Post subject: |
|
|
It's not clear what the exact problem you are having is.
What happens when you click on "Start Profiling"? |
|
| Back to top |
|
 |
Jason.West
Joined: 24 Aug 2011 Posts: 3
|
Posted: Wed Aug 24, 2011 6:23 pm Post subject: |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Thu Aug 25, 2011 9:20 am Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Laura Morley
Joined: 22 Jun 2011 Posts: 34 Location: Red Gate Software
|
Posted: Thu Aug 25, 2011 9:27 am Post subject: |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Thu Aug 25, 2011 9:35 am Post subject: |
|
|
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/ _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Jason.West
Joined: 24 Aug 2011 Posts: 3
|
Posted: Thu Aug 25, 2011 4:57 pm Post subject: |
|
|
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 |
|
 |
|