Software job search
.net sql interview questions
  The best place for technical interview questions

 
Home.netSql serverAsp.netC#Vb.netAdo.netAjaxMcpd dumpsWord count tool
.net interview questions
 
Question 85   What are the difference between application object and static variable

When a user changes the value of an application object it is reflected to all other users. but static variables are accessible only at session level. static variables are faster than application variables because no type casting is required.



Question 86   What are dependencies in cache and types of dependencies

Both cache and application objects are used to hold information across the user/application. once an application object is created, it will live till the time the object is set to null or the iis is restated. but cache objects will expire depending on the expiration setting set for the cache object




Question 87   What is the difference between cache object and application object

Both cache and application objects are used to hold information across the user/application. once an application object is created, it will live till the time the object is set to null or the iis is restated. but cache objects will expire depending on the expiration setting set for the cache object



Question 88   How can get access to cache object

Using httpcontext.current.cache



Question 89   What is cache callback in cache

The lifetime of a cache is based on dependencies like file, time etc. cache object value will be refreshed based on these dependencies. in order to refresh the cache during dependency expiry we need to register a callback method. this method will be called automatically by the clr during dependency expiry



Question 90   What is scavenging

Caching is the process of storing essential information on the server memory for fast retrieval. but sometimes when the server is very low on memory it need to remove some items from the cache. this is called scavenging. cache items with low priority will be removed first. we can set the priority of the caching object using cacheitempriority property.




 Rate this page
     
 11 votes , average 4 out of 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 

Reader's opinions -

No comments
Loading

 
.net interview questions
Asp.net interview questions
C# interview questions
Vb.net interview questions
Ado.net interview questions
Ajax interview questions
Wcf interview questions
Wpf interview questions
.net threading interview questions
.net remoting and webservices interview questions
.net caching interview questions
.net oops interview questions
Sharepoint interview questions
Jquery interview questions
Silverlight interview questions
Linq interview questions
Wwf interview questions
Java interview questions
Sql server interview questions
Ssis interview questions
Ssrs interview questions
Data warehousing interview questions
Data mining interview questions
Oracle interview questions
Php interview questions
Design patterns interview questions
Uml interview questions
Mcpd dumps
Pmp practice tests

This site is best viewed with Internet Explorer 7.0 or higher, Firefox 2.0 or higher, Chrome at a minimum screen resolution of 1024x768.
A complete solution to interview questions
free matrimonial website      
web hosting plans |  compare vps hosting plans |  Compare dedicated hosting plans |  Compare linux hosting plans |  Compare cloud hosting plans |  Compare windows hosting plans | 
Hosting reviews |  GoDaddy reviews | 
Support Wikipedia