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 new asp.net core?
Can the unique key be null?
What is the difference between c# and .net?
How does http session work?
What are demand-paging and pre-paging?
What kind of data can be stored in viewstate?
What is the difference between client-side and server-side validations in ASP.NET?
Which is better union or union all?
Explain Features in ASP.NET
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
Explain the difference between sql invalidation and sql notification.
What is css in asp.net?
What are web server controls in asp.net?
Explain how dot net compiled code will become platform independent?
Whats the difference between abstract factory pattern and factory pattern?