Asp.net Corepage loading very slow on windows

Sahu, Sarita 0 Reputation points
2023-07-26T08:12:31.5333333+00:00

I have web application migrating from ASP.NET MVC to ASP.NET core 6.

All are woking fine,but very first time when loading page in new tab via click on hyper link, it is taking more that 5 minute to load.

I am very new to this .net core,could please help on this ASAP .

Thanks,

Sarita

Developer technologies ASP.NET ASP.NET Core
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-07-27T05:36:19.1133333+00:00

    Hi @Sahu, Sarita

    I added all js and css in wwwRoot Folder, How i can minimise them,Mosly i have min.js files .Could you provide your help here.how i can minize them.

    You can refer to the bundling and minification guidelines, which mention compatible tools (such as: WebOptimizer) and show how to use ASP.NET Core's environment tag to handle both Development and Production environments. Besides, you can also consider other third-party tools, such as Webpack, for complex client asset management.

    All are woking fine,but very first time when loading page in new tab via click on hyper link, it is taking more that 5 minute to load.

    About this issue, you can try to use F12 developer tools (Network), Logging or use a profiling tool like Application Insights to check which part will spend too much time, then based on the result to optimize your application.

    This article provides information about how to optimize the performance of ASP.NET Core apps, you can refer to it:

    ASP.NET Core performance


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,

    Dillion

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.