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
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
The memory cache uses time-stamps based on DateTime. Security uses DateTimeOffset (and rounds to one second). Which one should memory cache be using and why?
General rule of thumb: Public APIs should take DateTimeOffset because that type encourages correct usage patterns. Internally, the data can be stored as a UTC DateTime (or even an Int64) for the sake of performance.
The memory cache uses time-stamps based on DateTime. Security uses DateTimeOffset (and rounds to one second). Which one should memory cache be using and why?
@GrabYourPitchforks
The text was updated successfully, but these errors were encountered: