How to profile web services(which are called from web site)
Deepak Gahlot
Posts: 3
Hi All,
I am using license copy of ANTS Profiler v3.1.0.20
I want to profile web services which are internally called from web site.
Both the website and the web services are hosted on the IIS 5.1 on local machine only and they are running under aspnet_wp.exe process.
Let me explain with one example:
Website -> SignIn page -> Calls AuthenticateUser web service (via web reference object)
AuthenticateUser web service internally calls some methods lets assume VerfiyEmailAddress and VerifyPassword.
Now when I profile login feature of my website then I get time taken to execute AuthenticateUser and not individual timing for VerfiyEmailAddress and VerifyPassword.
How can I know the execution time for each internal method?
Note: I tried to put my web services under debug mode by attaching aspnet_wp.exe process but that also didn't help.
I am using license copy of ANTS Profiler v3.1.0.20
I want to profile web services which are internally called from web site.
Both the website and the web services are hosted on the IIS 5.1 on local machine only and they are running under aspnet_wp.exe process.
Let me explain with one example:
Website -> SignIn page -> Calls AuthenticateUser web service (via web reference object)
AuthenticateUser web service internally calls some methods lets assume VerfiyEmailAddress and VerifyPassword.
Now when I profile login feature of my website then I get time taken to execute AuthenticateUser and not individual timing for VerfiyEmailAddress and VerifyPassword.
How can I know the execution time for each internal method?
Note: I tried to put my web services under debug mode by attaching aspnet_wp.exe process but that also didn't help.
Comments
If that works, try the infamous "make sure your webservice compiles in DEBUG-slash-put PDBs in the webservice folder".
Wow !! Copying the .pdb file of webservice project inside website's debug folder has worked for me.
Thanks for the help.
Regards,
Deepak Gahlot