Post Cache substitution in asp .net

It is containing all topics related to Visual Basic, .NET Framework, Web Resource, GDI etc.
Ladva Nidhi
Posts: 295
Joined: Sat Sep 20, 2014 5:26 pm
Contact:

Post Cache substitution in asp .net

Postby Ladva Nidhi » Thu Oct 16, 2014 3:06 am

What is Post Cache substitution in asp .net?


Guest

Re: Post Cache substitution in asp .net

Postby Guest » Mon Aug 03, 2015 5:47 am

Post cache substitution is used when we want to cache the whole page but also need some dynamic region inside that cached page. Some examples like QuoteoftheDay, RandomPhotos, and AdRotator etc. are examples where we can implement Post Cache Substitution.

Post-cache substitution can be achieved by two means:
1]Call the new Response.WriteSubstitution method, passing it a reference to the desired substitution method callback.
2]Add a > control to the page at the desired location, and set its methodName attribute to the name of the callback method.


Return to “Visual Basic .NET and ASP.NET”

Who is online

Users browsing this forum: No registered users and 3 guests