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

asp.net page is a object or not?

5 Answers  


What is repository pattern in mvc.net? : asp.net mvc

0 Answers  


What is syntax code to send email from an asp.net application?

0 Answers  


Is viewstate secure?

0 Answers  


What are Http handler ?

1 Answers   Patni,






Explain the difference between web user control and web custom control?

0 Answers  


Exception handling

2 Answers   Syntel,


What is the difference between system.stringbuilder and system.string

0 Answers  


Explain the path instructions in xaml?

0 Answers  


When we do partial refresh of a page using update panel how server knows it(which event occurs?)

2 Answers  


how to debug web services on consumer side?

0 Answers   HCL,


what is page life cycle state management postback cross page postback types of feilds in gridview gridview events their life cycle cte in sql diff truncate and delete paging concepts in gridview diff bet gridview datalist and repeater what new operations in sql 2005 compared to earlier you get

1 Answers   e4e,


Categories