How to remove cache object in asp.net?

Answers were Sorted based on User's Feedback



How to remove cache object in asp.net?..

Answer / ravi.n

by using cache.remove()

Is This Answer Correct ?    1 Yes 0 No

How to remove cache object in asp.net?..

Answer / amey

For Each de As DictionaryEntry In HttpContext.Current.Cache

HttpContext.Current.Cache.Remove(DirectCast(de.Key, String))

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

0 Answers  


How to merge 2 tables fields in DataTable in asp.net

6 Answers   Wipro,


Can you explain composite pattern?

0 Answers   QuestPond,


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


How can you provide an alternating color scheme in a Repeater control?

1 Answers  






What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?

0 Answers  


What is asp.net localization?

0 Answers  


Differentiate between early binding and late binding.

0 Answers  


What is the Difference B/W Finalize() and Dispose() in .Net?

12 Answers   HCL, IBM,


What is difference between rest and soap?

0 Answers  


Define reflection in .net?

0 Answers  


what is clr .

1 Answers   Patni,


Categories