locked
High delay time to get database return on API published on IIS RRS feed

  • Question

  • User-665281982 posted

    I created a web API to do authentication via token bearer through Owin.

    I've been testing locally by Visual Studio.. The implementation in whole to the Response occurs in a manner acceptable within the expected time.

    Then I published the API in IIS. I enabled one tracer to record how long it would last to accomplish the tasks internally.

    When a query method in database runs, is taking around 11 seconds, which in my local server lasts 30 milliseconds.

    Do you have any logical explanation for this? I published as release on IIS and locally in debug mode :/

    Thursday, July 21, 2016 6:22 PM

Answers