unit test SqlCacheDependency

Posted by hotyi on Stack Overflow See other posts from Stack Overflow or by hotyi
Published on 2010-05-09T07:42:19Z Indexed on 2010/05/09 7:48 UTC
Read the original article Hit count: 384

Filed under:
|

I'm using SqlCacheDependency in asp.net application, and i'm using HttpRuntime.Cache to cache items. and the application works well only when i debug the web application, but the HttpRuntime.Cache will not be notified when some data changes from the db when i debug the application in the unit test mode. Anyone have suggestions to make HttpRuntime.Cache to work under unit test?

© Stack Overflow or respective owner

Related posts about unit

Related posts about test