Posts tagged with: velocity

All Tags

Found 2 posts tagged with "velocity"

  • Velocity DataCache Extension Methods

    This post provides code samples to demonstrate extension methods for working with the Velocity DataCache. This includes a method called IsLocalCache, a Get method that uses generics and a Func delegate to create objects if they are not found in the cache, and a CreateKey method to create keys for cache entries.

  • Mocking support in Microsoft Velocity

    Microsoft Velocity does not have mocking support, making it difficult for developers to unit test code that uses the application cache. Microsoft should provide interfaces or make methods virtual to improve the API's support for unit testing.