Sunday, August 26, 2007

Substitute Control

.Net 2.0 has come with bunch of new controls. Many of the controls looks like composite control of existing 1.1 control or enhanced 1.1 controls - basically after studying the market or taking look at the open source framework etc.

Substitute control is one of the new control in the stack. As we all know, the caching has been very significant concept in the web. Caching itself is a very broad topic. Caching can be done at various level - like browser side, proxy caching, server caching, database caching, kernal caching, page caching, control caching,application level, etc.

It is possible to cache page content using output cache directive. So in such case if you want a portion of the site not to come from cache but be processed all the time, then Substitute control is handy.

0 comments: