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
How do http sessions work?
What are the Difference between asp.net and asp ?
Is asp.net mvc still used? : Asp.Net MVC
Is asp.net still used?
How many types of file extensions for razor views in ASP.Net MVC?
How do you declare static variable?
how can create login from create and written conde in asp.net
What are server side controls?
What is asp.net web application?
how to include timer or counting time to display next page in asp.net
What is the parent class of all the web server control?
Explain about consistent programming model in the .NET framework?
What does occur first in ASP.Net, Authentication or Authorization?
What is a server cookie?
What is aspect-oriented programming?