What is the difference between application and cache variables?
Answer Posted / prasanna
In application state we have to lock and unlock the
application.In cache it is not required. A cache object
supports dependencies such as file dependencies and SQL
dependencies.If there is any change in the file or in the
database tables cache expires.But an application does not
support dependencies.Cache objects employ expiration
policies whereas an application variable does not have the
expiration set.It has the life of the application.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the authentication types in asp.net?
Can one dll file contains the compiled code of more than one .net language?
Do I need to have the latest version of windows media player installed?
What is routing in MVC?
How do you deploy your asp.net application?
What is state management in asp.net with example?
What is query string with example?
How does session authentication work?
Write code to send e-mail from an asp.net application?
What is server redirect?
Explain about asp.net caching?
What is the difference between page-level caching and fragment caching?
What is the postback property in asp.net?
Is it possible to write code in many languages in one asp.net project?
How you can manage the state of application at the server side in ASP.NET?