Last post Jul 22, 2016 05:00 AM by Yohann Lu
Jul 21, 2016 06:22 PM|atiliosud|LINK
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 :/
Jul 22, 2016 05:00 AM|Yohann Lu|LINK
I published as release on IIS and locally in debug mode :/
As far as I know, the most important thing is that in debug mode, there are no optimizations, while in Release mode there are optimizations. So, in release mode all things are running faster than debug mode.
Difference between a Debug and Release build:
Do you have any logical explanation for this
You can refer the following links to optimize your site.
1: Fix the 3 silent performance killers for IIS / ASP.NET apps:
2: 8 Effective Ways to Improve IIS 7.5 Performance:
Also, you can enhance IIS server hardware specifications.