Profiling net.tcp

Code and memory profiling for .NET developers.

Moderators: Brian Donahue, richardjm, StephenC

Profiling net.tcp

Postby meir.rivkin » Thu Apr 30, 2009 12:59 pm

hi,

i'm trying to profile net.tcp service which being used from wcf service.

scenario:
i've created wcf service which returns playlist xml according to given ID:
http://localhost/ExternalServices/Playl ... st?ID=1234

this service calls an internal net.tcp service which evalutes the request and gets the actual playlist from DB:
net.tcp://localhost/Services/PlaylistManagerService.svc

however when running the profiler all i see is the external wcf service methods.
is it possible to profile the net.tcp service as well?

btw, i'm using Vista 64bit / win server 2008 sp1

-cheers
meir.rivkin
 
Posts: 2
Joined: Thu Apr 30, 2009 12:43 pm

Postby Brian Donahue » Thu Apr 30, 2009 7:12 pm

Thanks for your post. ANTS Profiler 3 is limited to one process at a time, so even if the service is hosted on the local machine, you can either profiler the WCF client or the service (presumably by profiling IIS), but not both together.
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby meir.rivkin » Sun May 03, 2009 9:29 am

i'm using Ants performance profiler 4.
is it possible then to just profiling the tcp service?
meir.rivkin
 
Posts: 2
Joined: Thu Apr 30, 2009 12:43 pm

Postby Brian Donahue » Mon May 04, 2009 12:56 pm

I don't see why not. If the service is on the local machine and the correct application type is chosen, you can profile it. Please let us know if you are running into a specific problem.
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Profiling net.tcp protocol.

Postby alexyag » Thu Feb 23, 2012 4:32 pm

Hello .

This means that I can profile net.tcp://... ??
alexyag
 
Posts: 2
Joined: Thu Feb 23, 2012 4:30 pm
Location: Israel

Postby Brian Donahue » Thu Feb 23, 2012 6:47 pm

Yes. The only thing stopping you is the UI only allows you to enter http. So if you configure the web app to answer on both HTTP and TCP, you can invoke the webservice using either.
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby alexyag » Sun Feb 26, 2012 7:49 am

So you tell me , that though my client-side app talks to wcf service over net.tcp , I only need to add an http endpoint on the service , and enter the address in the ANTS Profiler , and it will work ?

Or I have to change my client-side app too ? Because that's a problem for me..

Thanks .
alexyag
 
Posts: 2
Joined: Thu Feb 23, 2012 4:30 pm
Location: Israel

Postby Brian Donahue » Mon Feb 27, 2012 10:07 am

You don't need to change anything else, provided you "profile on original port".
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests