You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The key has to be formatted as string. We will provide a default implementation, similar to the old MethodCache where the ToString() representations of arguments will be concatenated and delimited by a configurable char ('_' will be used as default).
This should be sufficient for most use cases. Customization will be possible by providing a IDistributedCacheKeyFormatter implementation.
The same challenge applies to the value which has to be formatted as byte[]. Customization will be possible by providing a IDistributedCacheValueFormatter implementation. We might consider a default implementation (probably JSON.Net serialization / deserialization).
The text was updated successfully, but these errors were encountered:
Support the usage of caches based on the IDistributedCache interface.
For the first iteration only the following synchronous methods will be used:
The key has to be formatted as string. We will provide a default implementation, similar to the old MethodCache where the
ToString()
representations of arguments will be concatenated and delimited by a configurable char ('_' will be used as default).This should be sufficient for most use cases. Customization will be possible by providing a
IDistributedCacheKeyFormatter
implementation.The same challenge applies to the value which has to be formatted as byte[]. Customization will be possible by providing a
IDistributedCacheValueFormatter
implementation. We might consider a default implementation (probably JSON.Net serialization / deserialization).The text was updated successfully, but these errors were encountered: