Empty asp.net Resources Cache, provided by SQLResourceProvider


Empty asp.net Resources Cache, provided by SQLResourceProvider



I've just implemented a SQLResource provider in my MVC2 application. When I change something in the database by hand or by a webform, I want the ResourceProvider to drop all it's resources and fetch them again from the database.

Does any one now how I can clear this ResourceCache that is managed by ASP.NET's own API?


Multiple Types of Authorizations in .NET MVC 2.0

1:

Why can't I bind form data directly to action method parameter?
When you implementing SQLResourceProvider you should use caching toreceive her with database utility class. create a WIKI like “diff” between two stringsWhen creating cache you must define policy which contains ChangeMonitors property.I think adding SqlCacheDepency item to ChangeMonitors property is what you looking for. How to approach unit testing in a large projectTake a look a this classes SqlCacheDepency , CacheItemPolicy. When should functionality be made available in its own Controller?I must provide code if you need it.. Why can't I reference JavaScript files in my View?
How to construct HttpPostedFileBase?

64 out of 100 based on 24 user ratings 344 reviews