| Author |
Message |
kartikas
Joined: 14 Jun 2011 Posts: 2
|
Posted: Tue Jun 14, 2011 10:15 am Post subject: Unable to see API code i.e Wcf service while profiling |
|
|
Hi all,
I am new to the ANTS performance profiler,when I profiling the application through Ants performance pofiler i am able to see the UI portion code i.e all the methods and classes which are used in the UI part.
But i am unable to see the API code(which is a WCF service and called by the UI)
please tell me to see the API code what should i do???
Thank you in Advance....
Kartika |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6345 Location: Red Gate Software
|
Posted: Tue Jun 14, 2011 11:10 am Post subject: |
|
|
Since the WCF service is running in another process not directly started by the process you are profiling, you will have to profile the WCF service process separately. You would more than likely profile a web application, although a WCF service doesn't necessarily have to be hosted in IIS. _________________ 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 |
|
 |
kartikas
Joined: 14 Jun 2011 Posts: 2
|
Posted: Wed Jun 15, 2011 9:59 am Post subject: |
|
|
Thanks for your reply of my previous post
when profiling my wcf service i am geeting below error.
Failed to connect to target Process because an exception occured:
could not strat IIS,please check ur setting and start again.
Note:I checked IIS seeting, its ok
my Wcf service is also running in IIS and Browser
Could you please tell me what are the setting needed to start profiling the wcf service and please explain me what are the modification needed in IIS setting to profiling the wcf service???
Thank you in adavance
Kartika |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6345 Location: Red Gate Software
|
Posted: Wed Jun 15, 2011 10:13 am Post subject: |
|
|
I can't say for sure because it depends on your environment but I can give advice.
Typically a WCF service is hosted in IIS and a "contract" exists binding it to a particular port. So you can try "profile on original port" and if that doesn't work, try "profile on unused port" and when it starts, shut down the website hosting the WCF in IIS.
It could also be the common problem that ANTS Profiler changes the WCF's running environment and makes it crash. In that case the website needs to be debugged. We can open a support ticket and send you instructions for dumping the memory if it comes to that. _________________ 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 |
|
 |
|
|
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