Explain Page Output Caching?
Submitted by: AdministratorThis type of caching is implemented by placing OutputCache directive at the top of the .aspx page at design time.
For example:
<%@OutputCache Duration= "30" VaryByParam= "DepartmentId"%>
The duration parameter specifies for how long the page would be in cache and the VaryByParam parameter is used to cache different version of the page.
The VaryByParam parameter is useful when we require caching a page based on certain criteria.
Submitted by: Administrator
For example:
<%@OutputCache Duration= "30" VaryByParam= "DepartmentId"%>
The duration parameter specifies for how long the page would be in cache and the VaryByParam parameter is used to cache different version of the page.
The VaryByParam parameter is useful when we require caching a page based on certain criteria.
Submitted by: Administrator
Read Online ASP.NET Caching Job Interview Questions And Answers
Top ASP.NET Caching Questions
☺ | What is Data Caching? |
☺ | Do you know about caching with the DataSource Controls? |
☺ | Do you know using SQL Cache Invalidation? |
☺ | What is ASP.NET Caching? |
☺ | Explain Transparent caching with AOP? |
Top Dot Net Technologies Categories
☺ | MSF Interview Questions. |
☺ | .Net Architecture Interview Questions. |
☺ | ASP.Net MVC Interview Questions. |
☺ | Entity Framework Interview Questions. |
☺ | C# (Sharp) Programming Language Interview Questions. |