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
Why is string called immutable data type?
What is the flow of processing of the request? : asp.net mvc
Explain file-based dependency and key-based dependency.
Explain how can you debug your .net application?
If we remove web.config or machine.config from the application then, is this application will works?
What are the differences between primary foreign and unique keys?
How to implement form based authentication in asp.net application?
What is form submit?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
How can you handle errors in Web API?
Explain what is viewstate?
How may clustered index we can create in table?
How to handle errors in Web API?
What are standard controls?
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?