What is the difference between application and cache variables?
Answer Posted / chandra prakash
the key difference between them is the added features
provided by the Cache object like the expiration policies
and dependencies. It means that the data stored in the cache
object can be expired/removed based on some predefined time
limit set by the application code or when the dependent
entity gets changed whereas this feature is not available in
the Application object.
Although when we want to save some database results like
dataset or datatable and we dont want to send the request
frequently to the database server, we use cache object.
| Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
What is global.asax file used for?
Explain how is a property designated as read-only?
What is asp.net version?
Will the asp.net validators run in server side or client side?
What is the Difference between MVC And MVP design pattrens
Can one dll file contains the compiled code of more than one .net language?
What are the uses of list view control in Asp.net?
Can we have multiple master pages in asp net?
What are the features of asp net?
Elaborate differentiation between Cache and Application?
What are the advantages of asp.net mvc framework? : asp.net mvc
What is a 1x1 pixel?
Explain how to prepare culture-specific formatting in .net.
Explain different types of Caching techniques in ASP.NET?
Give some salient points of difference between request processor and request dispatcher.