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 are the Custom controls in asp.net?

0 Answers   MCN Solutions,


How many validators do ASP.NET have?

0 Answers   QuestPond,


What are different methods of session maintenance in asp.net?

0 Answers  


Can we have a web application running without web.config file?

0 Answers  


what are the ways to improve performance in .net application?

7 Answers   Mind Tree,






What is caching? What are the different types of caching?

6 Answers  


What is asp.net architecture?

0 Answers  


What is the significance of finalize method in .net?

0 Answers  


How to stop the inheritance?

2 Answers   TCS,


How to handle errors in Web API?

0 Answers  


What is a WebService and what is the underlying protocol used in it? Namespace?

1 Answers  


What is the difference between User Controls and Master Pages

22 Answers   Deloitte, IBM, IntraLogic, Markit, TCS,


Categories