Slow performance on asp.net website, where should I look for a problem?

I designed the site using Asp.net C # 3.5, and now I feel that some of the pages load reeeaaally slooooow. Now I need to start browsing the website and try to figure out what makes it so slow. But I don’t know where to start, which most likely caused the problem? Where do you usually start trying to figure out what's wrong?

One very slow page uses the following:

  • Asp.net C # 3.5
  • AjaxControlToolkit ( http://www.asp.net/ajax/AjaxControlToolkit/Samples/ )
    • RoundedCornersExtender
    • CollapsiblePanelExtender
  • Two different update modules
  • 11 connections to the MySql database (one quite heavy, using some joins and internal connections)
  • Most database connections lead to filling out FormViews or GridViews, so I completely have 2 kinds of forms and 6 gridviews per page (each gridview shows a maximum of 10 elements)
  • Can a CSS file slow down a site? The CSS file I use is about 60KB.

Can using AjaxControlToolkit make a site slow? Is there a better way to use javascripts on a site?

I understand that you cannot help me find a problem with slow loading, but where do you start looking for a problem? DataControllers? AjaxControlToolkit? Sql? Is it easy to find out if query is slow in mysql? What's slow? For a large query is 0.3 s?

As you can see, I have a lot of questions, maybe you could just help me start working in the right direction, thank you very much for your help!

+3
5

Trace="True" <%@ Page %> , ; , web.config config debug .

Performance Monitor, .

+4

ASP.NET

, ASP.NET.

, :

ASP.NET

, , , . ( ). 11 , "", . ? , ASP.NET Tracing .

CSS, , 60 , , , CSS .

+3

- . - javascript/css/include - - . , , . , ( MySQL) . phpmyadmin ( ) , , .

, , , , "" , ? ? .

+1

, /, , , :

  • db
  • CPU/ web/db
  • , - ()
  • , (javascript)
+1

, SQL-. , SQL Profiler MySql. , TraceAttribute, , , . , - FireBug Fiddler, , . Tracing Post Sharp, , .

0

Source: https://habr.com/ru/post/1720348/


All Articles