简体   繁体   中英

ASP.NET Web Forms WebApp Incredibly Slow

I have a web app written in ASP.NET Web Forms which takes like 7 seconds to perform any anction. The browser tools says that the loading time is spent to actually send the request, while to retrieve it is fine.

Here are a couple of screenshots

网络测试

网络测试详细信息

How could I test what's wrong other that that? I have other applications coming from the same source code, and those works fine.

The webApp is running on a local IIS server (8.5) using a classic asp.net 4 app pool and is made in Visual Studio 2010 (althought I could test it with 2013 also)

I scanned the whole thing using Ants Performance profiler

but I found nothing.

Anyway I found the cause were a really simple query which should've returned back a single line.. The db wasn't properly indexed so it took forever to load

Removing that query solved the problem for me

Thank guys

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM