Tag Archives: ASP.NET 4.0

Initialize assemblies using PreApplicationStartMethod for ASP.NET 4.0 Application

By | August 27, 2011

Sometimes your ASP.NET application needs to hook up some code before even the Application is started. Assemblies supports a custom attribute called PreApplicationStartMethod which can be applied to any assembly that should be loaded to your ASP.NET application, and the ASP.NET engine will call the method you specify within it before actually running any of code defined in… Read More »

Dynamically Change Chart Control Type in ASP.NET 4.0

By | July 16, 2011

ASP.NET 4.0 introduced inbuilt chart controls features. This Chart control has several types like Line, Column, Pie etc. In this post I am going to talk about how you can change the ASP.NET Chart Control Type on the fly.  . All the Chart Type for ASP.NET 4.0 Chart control are defined in a public enum SeriesChartType. We will… Read More »

Few important tips that you should know while using ASP.NET Session

By | May 3, 2011

While working with ASP.NET web application you must be familiar with one of most important state management technique “Session”. If you want to do a quick refresh or want to know some thing more, please go ahead and read one of my article “Exploring Session in ASP.NET” published at Code Project. In this post I am going to… Read More »

How to remove ViewState from ASP.NET web page and save in Session using SessionPageStatePersister

By | April 28, 2011

By default ViewState is saved inside the web page. In ASP.NET using SessionPageStatePersister ViewState can be saved inside Session instead. This helps in securing the ViewState as well as reducing the size of the web page

Important counter sets for monitoring ASP.NET performance using Perfmon Tool

By | April 28, 2011

For Any ASP.NET application, monitoring performance is an important job. Performance Monitor tool having some nice features that helps us to monitor ASP.NET Application performance in a better way.In this Tips I  discuss four important counter sets that are very useful in monitoring ASP.NET performance.

Selecting Cache Provider On the Fly in ASP.NET

By | March 19, 2011

If you have multiple Cache Provider in your ASP.NET application you can  set the output cache provider dynamically at runtime .  This is extremely useful if want to store cache data in different storage based on the usages of the data. To use this features you need to override the GetOutputCacheProviderName() method within the Global.asax file of your… Read More »