ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How to do Caching in ASP?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to do Caching in ASP?
Answer
# 1
<%@ OutputCache Duration="60" VaryByParam="None" %>
VaryByParam value 	

Description

none :One version of page cached (only raw GET)
*: n versions of page cached based on query string and/or 
POST body
v1: n versions of page cached based on value of v1 variable 
in query string or POST body
v1;v2: n versions of page cached based on value of v1 and 
v2 variables in query string or POST body


<%@ OutputCache Duration="60" VaryByParam="none" %>
<%@ OutputCache Duration="60" VaryByParam="*" %>
<%@ OutputCache Duration="60" VaryByParam="name;age" %>
The OutputCache directive supports several other cache 
varying options

    * VaryByHeader - maintain separate cache entry for 
header string changes (UserAgent, UserLanguage, etc.)
    * VaryByControl - for user controls, maintain separate 
cache entry for properties of a user control
    * VaryByCustom - can specify separate cache entries for 
browser types and version or provide a custom 
GetVaryByCustomString method in HttpApplicationderived class
 
Is This Answer Correct ?    1 Yes 0 No
P.ramakrishna
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
can we place the same DLL in debug folder two times? (without using strong name ) TCS7
To which class you load XML or Related Data  1
What is deference between asp.net, vb.net, c# & j#  2
What is the difference between Server.Transfer and Response.Redirect?  4
What’s the difference between Response.Write() andResponse.Output.Write()?  1
What are the Application_Start and Session_Start subroutines used for?  5
What is mvc structure? given example? How to show gridview control from business components and using class object arrays?  1
Can a master page inherit another master page? Emphasis8
How to retrieve data row by row from a DataTable? Thanks In advance PriyaPP  3
What are the major differences between asp.net1.1 and asp.net 2.0? CTS7
User contro having 4 text boxes given validation controls. i want to execute validations after the button click event how it is?  3
What r Callbacks in ASP.NET?  1
7. Do you have reference list? Swatz-Oils1
I M working in 1.1 .net framework. In a page I have 5 text box & 2 data grid. In PageLoad() All text box will populate with blank value & 1st dataGrid with some value. When I click on EDIT button Of the 1st dataGrid,The Relevent data Of the particular row will populate in first 3 textboxs & corresponding relevent data Will populate in the 2nd DataGrid. Now when I click 2nd datagrid's EDIT button of a perticular Row,relevent data will populate on last 2 textboxs & 1st 3 textbox's value will be same as per as it was........ ........My Problem Is ........... When I click on edit button Of 2nd DataGrid, 1st 3 text boxes values goes Off & 2nd DataGrid Is goes off Due to Postback.but The relevent value is populated In last 2 textboxes.So How I stoped this postback??So that all the data in 1st 3 textboxes will be same.So that I can edit the values of 2nd Grid with 1st 3 textBoxes value.. plz dirctly mail me 1 copy of post to... maloy.adhikari@in.com  2
What is custom tag in web.config ? Accenture1
What?s the difference between Response.Write() andResponse.Output.Write()?  2
Best Institute in india for online training (Dotnet/java/Tibco/Dwh/etc.....)  3
Derive WSDL?  6
What is strong name and which tool is used for this? Accenture3
when user is logged on the information is saved in a cookie, what is the name of that cookie? Mind-Tree2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com