Profiling Web services..

Code profiling for .NET developers.

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

Profiling Web services..

Postby rtom » Mon Oct 22, 2012 7:03 pm

I believe I read somewhere that to profile web services, the code must be something that is invoked form Internet Explorer. I want to confirm my understanding of this.

So if I have a (big) asp.net web service running 2.x. And I have a winform application that consumes these web services, can you please confirm that this tool cannot be used to profile the web service.

I tried it, but could not get it to work.

If I invoke commands from IE, then I get some profiling.

Am I doing something wrong, or is profiling WS that is consumed by winform apps not supported.

Thanks
rtom
 
Posts: 4
Joined: Thu Jun 17, 2010 4:42 am

Postby james.billings » Tue Oct 23, 2012 8:26 pm

The profiler essentially uses IE to hook into your web service to profile it - so, in theory, you can start up the profiler with IE (as you did when it was working), minimize IE, and then work with your Winforms app. This should let you collect profiling data from the web service.

What you cannot do is profile the Winforms app and get profiling info from that AND the webservice together.
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Re:

Postby rtom » Mon Oct 29, 2012 6:18 pm

james.billings wrote:The profiler essentially uses IE to hook into your web service to profile it - so, in theory, you can start up the profiler with IE (as you did when it was working), minimize IE, and then work with your Winforms app. This should let you collect profiling data from the web service.

What you cannot do is profile the Winforms app and get profiling info from that AND the webservice together.



Works great.
Thanks
rtom
 
Posts: 4
Joined: Thu Jun 17, 2010 4:42 am

Postby james.billings » Mon Oct 29, 2012 6:20 pm

Glad to hear that's working!
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to ANTS Performance Profiler 7

Who is online

Users browsing this forum: No registered users and 0 guests

cron