Two resolvers, four entry points

Two resolvers, CurrentIdentityResolver and CurrentPrincipalResolver, are designed to lazily and correctly produce IIdentity and IPrincipal for handlers. They check a cache, resolve if empty, and store the result back. This ensures that database queries are not wasted by resolving identities and principals only when needed. To implement, use these resolvers in your handlers to get the correct identities and principals.

Source →
FeedLens — Signal over noise Last 7 days