caching asp.net #49772
Unanswered
habbassi869
asked this question in
General
caching asp.net
#49772
Replies: 1 comment
-
Have you ever injected |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hello
i need help please
in this line " if (!_memoryCache.TryGetValue(cacheKey, out ObjWrapper cachedData))" when i test my fonction it shows me System.NullReferenceException : 'La référence d'objet n'est pas définie à une instance d'un objet
memoryCache is null
this is my fonction :
public class HealthCareProfessionalController : BaseController
{
private readonly IMemoryCache _memoryCache;
Beta Was this translation helpful? Give feedback.
All reactions