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
To get the values in two different controls to match which control you use it?
What are the benefits of Razor View?
Explain the Order of events in an asp.net page?
Can I have a unique key as foreign key?
List of words of preprocessor in .net?
What are server side controls?
What is parse in asp.net?
In which event are the controls fully loaded?
Explain different types of Caching techniques in ASP.NET?
Is there any alternative to avoid name collisions other then Namespaces?
What is state management react?
What are the two Layouts supported by a Web form in ASP.NET?
What is masterpage?
To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?
Can a master page have more than one contentplaceholder?