Hi,
I'm using SoapUI to call the WCF.
Let me know how to profile the WCF...I didnt see anything in the help or forum on how to do that?
Mohan
How to profile a .net WCF
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: How to profile a .net WCF
Hi,
Please try the following approach:
1) set agent startup option to start profiling immediately:
https://www.yourkit.com/docs/dotnet/hel ... ptions.jsp
For example, for CPU sampling use the option "sampling".
2) enable profiling of all processes:
https://www.yourkit.com/docs/dotnet/hel ... al_all.jsp
3) performance snapshots of profiled processes will be captured on process exit and stored in the snapshot directory:
https://www.yourkit.com/docs/dotnet/hel ... ot_dir.jsp
Open the snapshots for analysis.
Best regards,
Anton
Please try the following approach:
1) set agent startup option to start profiling immediately:
https://www.yourkit.com/docs/dotnet/hel ... ptions.jsp
For example, for CPU sampling use the option "sampling".
2) enable profiling of all processes:
https://www.yourkit.com/docs/dotnet/hel ... al_all.jsp
3) performance snapshots of profiled processes will be captured on process exit and stored in the snapshot directory:
https://www.yourkit.com/docs/dotnet/hel ... ot_dir.jsp
Open the snapshots for analysis.
Best regards,
Anton
-
- Posts: 1
- Joined: Mon Jan 13, 2020 11:55 am
Re: How to profile a .net WCF
I have a WCF service which is the default application you get when you create a new one from VS2010.
Now I create a Web application in the same solution and consume this web service.
Next I run the application and my web service. The application is connecting to the web service and retrieving the value.
I start the profiling and click a button which executes the functionality for accessing the Web service.
After finishing the profiling, it show the function of WCF in report but i am unable to see source code of WCF service.
Now I create a Web application in the same solution and consume this web service.
Next I run the application and my web service. The application is connecting to the web service and retrieving the value.
I start the profiling and click a button which executes the functionality for accessing the Web service.
After finishing the profiling, it show the function of WCF in report but i am unable to see source code of WCF service.
-
- Posts: 1659
- Joined: Tue Aug 10, 2004 7:52 pm
Re: How to profile a .net WCF
Please read this topic https://www.yourkit.com/docs/dotnet/hel ... ration.jsp
It describes how to navigate to source code in Visual Studio.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
It describes how to navigate to source code in Visual Studio.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"