Red Gate forums :: View topic - Profiling net.tcp
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Profiler Previous Versions
ANTS Profiler Previous Versions forum

Profiling net.tcp

Search in ANTS Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
meir.rivkin



Joined: 30 Apr 2009
Posts: 2

PostPosted: Thu Apr 30, 2009 12:59 pm    Post subject: Profiling net.tcp Reply with quote

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/PlaylistService.svc/GetPlaylist?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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Thu Apr 30, 2009 7:12 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
meir.rivkin



Joined: 30 Apr 2009
Posts: 2

PostPosted: Sun May 03, 2009 9:29 am    Post subject: Reply with quote

i'm using Ants performance profiler 4.
is it possible then to just profiling the tcp service?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Mon May 04, 2009 12:56 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
alexyag



Joined: 23 Feb 2012
Posts: 2
Location: Israel

PostPosted: Thu Feb 23, 2012 4:32 pm    Post subject: Profiling net.tcp protocol. Reply with quote

Hello .

This means that I can profile net.tcp://... ??
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Thu Feb 23, 2012 6:47 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
alexyag



Joined: 23 Feb 2012
Posts: 2
Location: Israel

PostPosted: Sun Feb 26, 2012 7:49 am    Post subject: Reply with quote

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 .
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Mon Feb 27, 2012 10:07 am    Post subject: Reply with quote

You don't need to change anything else, provided you "profile on original port".
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