| Author |
Message |
meir.rivkin
Joined: 30 Apr 2009 Posts: 2
|
Posted: Thu Apr 30, 2009 12:59 pm Post subject: Profiling net.tcp |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Apr 30, 2009 7:12 pm Post subject: |
|
|
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
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 |
|
 |
meir.rivkin
Joined: 30 Apr 2009 Posts: 2
|
Posted: Sun May 03, 2009 9:29 am Post subject: |
|
|
i'm using Ants performance profiler 4.
is it possible then to just profiling the tcp service? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Mon May 04, 2009 12:56 pm Post subject: |
|
|
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
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 |
|
 |
alexyag
Joined: 23 Feb 2012 Posts: 2 Location: Israel
|
Posted: Thu Feb 23, 2012 4:32 pm Post subject: Profiling net.tcp protocol. |
|
|
Hello .
This means that I can profile net.tcp://... ?? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Feb 23, 2012 6:47 pm Post subject: |
|
|
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
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 |
|
 |
alexyag
Joined: 23 Feb 2012 Posts: 2 Location: Israel
|
Posted: Sun Feb 26, 2012 7:49 am Post subject: |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Mon Feb 27, 2012 10:07 am Post subject: |
|
|
You don't need to change anything else, provided you "profile on original port". _________________ 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 |
|
 |
|