What is the difference between application and cache variables?

Answer Posted / sandip bramhankar

Application object in not thread safe. You have to provide
your owen locking. But Cache is thread safe. Oveerhead of
locking can avoide by using Cache object

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give me one example of Web API Routing?

589


Which type of state management is provided by Query String in ASP.NET?

541


Where would you use an ihttpmodule, and what are the limitations if any?

513


Where can I get information on cookies in asp.net?

558


What is asp short for?

548






How to disable validator control by client side JavaScript?

563


Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

525


What is a ashx file?

548


What are the data controls available in asp.net?

497


Why do we use sessions?

562


What are directives in asp.net? List down all the important directives.

489


What are tuples?

527


What is server side session?

510


To load your generated dataset with data which method do you invoke?

591


How do I use a proxy server when invoking a web service?

516