Share via


Commerce Foundation OperationCacheDictionary

The operationCacheDicitonary is a string-to-object dictionary that can be used in a manner similar to how the ASP.NET Cache is used. Only, it does not store objects between operation invocations, but rather between the invocations of the components that belong to the same operation.

This cache object allows the Microsoft Multi-Channel Commerce Foundation operation sequence components to share expensive resources during the operation execution. For example, in the product query scenario the ProductLoader retrieves one or more products from the Commerce Server Core Systems database and translates them into the Commerce Server 2009 products which become part of the operation response. After the operation sequence component finishes its job it stores the retrieved Commerce Server products in the Cache. This enables subsequent operation sequence components to easily retrieve these Commerce Server products from the cache rather than from Commerce Server Core Systems to perform its specific task.

See Also

Other Resources

Working with Commerce Foundation Caches