Hi friends, in
this article I will explain about how to use OutputCache directive with
Substitution or OutputCache
example program.
I already explained in the previous article about Different Types of Caching in ASP.NET | ASP.NET Page Output Cache | Improving Performance with Output Caching and Interview Questions.
Take one new website
(File—New--- website).
Take one ASP.NET
page (Root Project—Add New Item--- web form—name it as cache.aspx).
In cache.aspx
write the following code.