We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Performance very slown in pages C# [Answered]RSS

3 replies

Last post Jun 15, 2021 11:55 AM by AlanOliveira

‹ Previous Thread|Next Thread ›
  • Performance very slown in pages C#

    May 31, 2021 06:54 PM|AlanOliveira|LINK

    I have an application running in production developed in ASP.NET 4.6, the application to be published or at any time it takes approximately 1 min to load each page, I have already tested it on other Production servers and with less resources and the application works perfectly.
    I performed a query on an API to check the return time, and to bring 1 record took 700 milliseconds ...
    Could anyone help?
    In some cases I need to reset IIS several times until it returns to normal.

  • Re: Performance very slown in pages C#

    May 31, 2021 07:32 PM|lextm|LINK

    https://docs.microsoft.com/en-us/visualstudio/profiling/profiling-feature-tour?view=vs-2019#post_mortem Try to collect profiling data, and then the cause should be clear.

    Lex Li
    Want to have a chat on the issues you meet? Book an appointment at https://buy.stripe.com/cN24ia0yi7sAdIA7sv
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Performance very slown in pages C#

    Jun 07, 2021 06:46 AM|samwu|LINK

    Hi AlanOliveira,

    The application pool needs time to build the libraries before it can begin processing them. This can be speed up by using some kind of script. It also depends on whether you're using a website or a web application project.

    You could also looking for IIS Auto-Start feature and setup it on your server may help speed up the process. By default Application pool gets shutdown in case of user inactivity default value of 1740 mins. You can also disable idle TimeOut by setting to 0 can help a lot.

    Best regards,


    IIS.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >
  • Re: Performance very slown in pages C#

    Jun 15, 2021 11:55 AM|AlanOliveira|LINK

    I found out, and it was kaspersky for windows servers, it is checking all temporary folders and IIS worker process.
‹ Previous Thread|Next Thread ›