Best ASP.net Optimization Techniques


The Performance of the application is of utmost importance and it has a direct impact on client if the performance of application is not appropriate then it takes lot of time for your client to just browse your website.

If you want your client stick on your content and feel better response of client then try to search for best performance booster metrics to be set for your need so that client never put up.

Today i am going to write the best ever performance and optimization rules that can boost your website / application performance to many folds.

so lets start the best ASP.net performance and optimization techniques.

Compress Static Content:

As every website contains lot of images,style  sheet and JavaScript files existing in many folds of directories and they load every time with loading content of page so the best approach is to compress the static content which increased the performance by reducing the bandwidth of requests.

In Web.config

<configuration>
   <system.webserver>
        <urlcompression dostaticcompression="true"></urlcompression>
   </system.webserver>
</configuration>
In IIS

You can perform this procedure by using the user interface (UI), by running Appcmd.exe commands in a command-line window, by editing configuration files directly, or by writing WMI scripts.

  1. Open IIS Manager and navigate to the level you want to manage. For information about opening IIS Manager, see Open IIS Manager (IIS 7). For information about navigating to locations in the UI, see Navigation in IIS Manager (IIS 7).
  2. In Features View, double-click Compression.
  3. On the Compression page, select the box next to Enable static content compression.
  4. Click Apply in the Actions pane.
Reference:

For best need according to your need if you are running application via windows server or any windows you can use this reference for your need.

https://www.iis.net/configreference/system.webserver/urlcompression

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s