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
I set the value of a key "foo" to empty string. If I use IDistributedCache interface, cache.Get("foo") returns null; if I use IMemcachedClient, cache.Get("foo") returns byte[] correctly.
Digging into the code, looks IDistributedCache.Get calls Get<T>(). Why Get() and Get<T>() handles empty value differently?
The text was updated successfully, but these errors were encountered:
I set the value of a key "foo" to empty string. If I use
IDistributedCache
interface,cache.Get("foo")
returnsnull
; if I useIMemcachedClient
,cache.Get("foo")
returnsbyte[]
correctly.Digging into the code, looks
IDistributedCache.Get
callsGet<T>()
. WhyGet()
andGet<T>()
handles empty value differently?The text was updated successfully, but these errors were encountered: