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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
Types of caching. How to implement caching?
 Question Submitted By :: Swapna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Types of caching. How to implement caching?
Answer
# 1
ASP.NET Caching Features
ASP.NET Web Applications


------------------------------------------------------------
--------------------

When clients access an ASP.NET page, there are basically 
two ways to provide them with the information they need: 

the ASP.NET page can either obtain information from server 
resources, such as from data that has been persisted to a 
database, or 
the ASP.NET page can obtain information from within the 
application. 
Retrieving information from a resource outside the 
application will require more processing steps, and will 
therefore require more time and resources on the server 
than if the information can be obtained from within the 
application space. 

If the information that will be sent to the browser has 
already been prepared by a previous request, the 
application will be able to retrieve that information 
faster if it has been stored in memory, somewhere along the 
request/response stream. 

Known as caching, this technique can be used to temporarily 
store page output or application data either on the client 
or on the server, which can then be re-used to satisfy 
subsequent requests and thus avoid the overhead of re-
creating the same information. 

Caching is particularly suitable when you expect to return 
the same information in the same format for many different 
requests. 

ASP.NET provides the following types of caching that can be 
used to build highly responsive Web applications: 

Output caching, which caches the dynamic response generated 
by a request. 
Fragment caching, which caches portions of a response 
generated by a request. 
Data caching, which allows developers to programmatically 
retain arbitrary data across requests.
 
Is This Answer Correct ?    3 Yes 0 No
Chandra
 
  Re: Types of caching. How to implement caching?
Answer
# 2
there are 3 types of caches is there they ara 1)page caching
2)page fragmentaion caching3)data caching
in case of the page caching  the total page will be cached 
for certain amount of time(i.e the time will declared by 
ourself)and in case of page fragmentation caching only a 
part of the data will be cached for some amount of time
Data caching, which allows developers to programmatically 
retain arbitrary data across requests
 
Is This Answer Correct ?    3 Yes 0 No
Sadanandam
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Given an ASP.NET Web Form called WebFrom1, what class does the WebForm1 class inherit from by default? a) System.Web.Form b) System.Web.GUI.Page c) System.Web.UI.Page d) System.Web.UI.Form Syntax-Softtech2
What object is used to encapsulate a rowset? a) DataSet b) DataAdapter c) DataRowSet d) DataTable Syntax-Softtech2
What is HTTPContext and HTTPModule. What is the use of them?  1
Is It Possible For Whole Page is Saved In View State? What Is View State? Phoenix-Technologies2
How many web.config files in each solution General-Mills9
After building the custom control, you test it by adding an ASP.Net web application to the solution. You add a correct <%@ Register %> directive and a proper declaration of the control in the <asp:Form> tag to the Web Form, but when you execute the application you get an error. What is the most likely reason for the problem? a) The custom control must be compiled first. b) The web application must have a reference to the control c) The custom control must be registered with windows first. d) The assembly from the custom control is not in the application?s bin directory. Syntax-Softtech1
Singleton Design pattern?How do you achieve it? Microsoft2
when using windows API in .net then it is managed code or Unmanaged code?  1
What tag do you use to add a hyperlink column to the DataGrid?  1
Types of values mode can hold session state in Web.Config? Accenture6
How can you change a Master page dynamically in which event of page life cycle? Fulcrum-Logic2
How Many types of Page Load functions in asp.net  2
when user is logged on the information is saved in a cookie, what is the name of that cookie? Mind-Tree2
which method marks a config file section for encryption?  1
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process? Perot-Systems1
Types of caching. How to implement caching? Microsoft2
How do you install windows service? Tech-Mahindra3
Difference between ASP Session and ASP.NET Session?  1
Clearly Explain the ispostback TCS6
What?s the difference between Response.Write() and Response.Output.Write()? Visual-Soft2
 
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