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   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 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 use caching in our program. why we use it give one 
example in code
 Question Submitted By :: Mercyjesus
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to use caching in our program. why we use it give one example in code
Answer
# 1
to increase web application performance caching is used,
caching may be categorised-output cahce,partial page or 
data cahing.
<@outputcache duration="60" (in min) varyby param=q1;q1)
<@outputcache duration="60" (in min) varyby 
control=dropdownlist1)

partial page -when a portion of page is to be keep track in 
server memory for reusability frequently

data cahcing-
cache["dscache"]=ds  //storing dataset inot cache
dataset objds=new dataset();
objds=(dataset)cache["dscache"] //to get into object dataset
 
Is This Answer Correct ?    0 Yes 0 No
Vijay
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
What are virtual methods? How are they used? TCS2
when data member or member function is static is acess specifier is considered??  2
Difference between multi-level and multiple inheritance? Microsoft8
Can you change the value of a variable while debugging a C# application?  1
can we throw execption from catchblock Accenture4
What is the difference between protected and protected internal? Fulcrum-Logic3
why c# is pronounced as C-sharp instead of pronouncing it as C-hash? is there any technical reason behind it?  3
what's the Difference between DataView and DataTable?  7
Why multiple Inheritence is not used in C#?  6
what is webapplication? what is windows application? what is the extension for both . in what purpose we r using webapplication. in which situation we r using windowns application  1
If we inherit a class do the private variables also get inherited ? TCS1
Difference between multi-level and multiple inheritance? Microsoft3
Did it possible to cast a generic type of derived class to generic type of base class? TCS1
What is indexers in C# Bodhtree2
What?s a delegate?  2
What are STA And MTA in threading? Kanbay3
how can we pass parameters to a user control using delegates ? IBM1
What is the difference between directcast and ctype? Wipro2
OOPs concept ? MMTS1
syntax for writing private method in a interface Wipro7
 
For more C Sharp 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