cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AuthenticateRequest Took a Long Time to Execute

josh_monreal
Newcomer

The REST API application that we have connects to a WCF web service to get some information. Overall the performance between the two is seamless, however there are random requests that takes a long time to be completed. An example is this one.

 

 

From what I can understand here, the HandleRequest inside AuthenticateRequest (I think this is located in the Global.asax file) took 25.4 seconds to run. Why was this the case? Is this more of an IIS issue?

5 REPLIES 5

ChadTurner
DynaMight Guru
DynaMight Guru

are you able to check out the method hotspots? This will help us understand why there is a long execution time, was it the network, host, cpu, wait time and so on.

-Chad

Hi @Chad T., I was able to identify the method that was causing the slowness using the method hotspots. Thank you for the help!

Happy to hear that! you're very welcome! Feel Free to reward points as desired 🙂

-Chad

I only have 11 points but I gave all to you. 🙂

Well thank you for being so generous Josh! Every little bit counts! Stay Safe and Stay Healthy!

-Chad