View Issue Details

IDProjectCategoryView StatusLast Update
0000227DefKeyGeneralpublic2024-07-06 01:10
Reporterzeynel Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0000227: Caching results of userManager.FindByIdAsync and userManager.GetUserAsync
Description

As what GitHub Copilot says, calling these methods hits database everytime....

And I probably call them multiple times during a request.

The caching is recommended to be at controller level but it won't benefit ViewComponents.

Maybe instead of caching, I just need to check the code, run SQL Profiler etc, to optimize code.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-07-06 01:10 zeynel New Issue