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 to comment out asp.net tags?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
What are the asp.net security controls?
Explain about consistent programming model in the .NET framework?
What is the server of asp.net?
If we remove web.config or machine.config from the application then, is this application will works?
Is it right that ASP.NET Web API has replaced WCF?
What is asp.net and its advantages?
What is difference Between Authentication and authorization?
What is the difference between custom controls and user controls?
In which event of page cycle is the viewstate available?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
Are xaml file compiled or built on runtime?
How can we register exception filter from the action?
Describe Segmentation With Paging?