All blog posts with the tag "velocity".
Velocity DataCache Extension MethodsPublished:5 min read
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 VelocityPublished:2 min read
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.