I would like to know methods to improve performance of asp.net MVC web application? To get better score on Google Page Insights
There are several ways to improve the performance of your asp.net MVC web-application:
OutputCacheAttributeto save unnecessary and action executions. You can take a look here at complete article:
// Removing all the view engines ViewEngines.Engines.Clear(); //Add Razor Engine (which we are using) ViewEngines.Engines.Add(new RazorViewEngine());?
<system.webServer> <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/> </system.webServer>?
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly