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 caching interview questions
 
Question 1   What is an application object

Application objects are used to hold/share information across users. when a users changes a value in an application object it is reflected to all other users.



Question 2   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 3   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 4   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 5   How can get access to cache object

Using httpcontext.current.cache



Question 6   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




 Rate this page
     
 16 votes , average 4 out of 5
1 2 3 4 5 6 

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