Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to use caching in our program. why we use it give one
example in code



how to use caching in our program. why we use it give one example in code..

Answer / vijay

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

Post New Answer

More C Sharp Interview Questions

The int maps to which C# keyword in .NET type?

0 Answers   Siebel,


Explain the mechanism of VB.NET/C# achieve polymorphism?

0 Answers   Siebel,


How do generics work in c#?

0 Answers  


Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?

0 Answers  


What is form feed and carriage return?

0 Answers  


What is the difference between add and addrange in c#?

0 Answers  


What is difference between string and stringbuffer in c#?

0 Answers  


What is asp net in c#?

0 Answers  


What's the difference between a static method and a non static method c#?

0 Answers  


How to authenticate web service? When you enter the web service url in browser it should ask username and password. After entering the un&pwd we have to show its methods and service description(wsdl).

3 Answers  


How does bitwise work?

0 Answers  


how to implement singelton in C# & its uses?

1 Answers   TCS,


Categories