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
Explain State management in asp.net
How to send a DataReader as a parameter to a remote client ?
What does asp stand for in asp.net?
How information about the user's locale can be accessed?
How to unit test Web API?
when a request is made in Life cycle of ASP.NET page .
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
What is master page in dtp?
What are Master Pages in ASP.NET? or What is a Master Page?
Differences between “dataset” and “datareader”.
Explain the difference between Repeater and Data list control in ASP.NET?
Can you explain one critical mapping?
What is Razor View Engine
Can you explain the importance of finalize method in .net?
Explain the working of passport authentication.