Question, shouldn't you add semaphores/locks in Cache service? What if we're caching big data, and we get a Get request while another request is in the middle of saving new data in the cache?
You can easily change the implementation by registering different caching service like distributed one, in order to abstract away those details from consumer services
Question, shouldn't you add semaphores/locks in Cache service? What if we're caching big data, and we get a Get request while another request is in the middle of saving new data in the cache?
I'm new to .NET technology, that was helpful thank you Mohamad.
Greetings from Morocco.
Thanks Mohamad I learned something about the cache. thanks
Thank you for the amazing content ❤
good explanation thank you very much
Thanks you
Question: what is the benefit of implementing custom service for memory cache when we can achieve the same result using inbuilt IMemoryCache class
You can easily change the implementation by registering different caching service like distributed one, in order to abstract away those details from consumer services
thanks
Thank you Mohamad. You ara good man.
thank you
Good video!
Avoid Caching Null Values:
You're caching the result even if Drivers is null
This might result in caching a missing entry for the wrong reason.
Would it be easy to use IMemoryCache?
How we will check if cache data has expired in cache?
The library did it for us when u pass the options
لماذا لا تقدم هذا المحتوي باللغة العربية
ولماذا لايقدمه باللغة الانجليزية ؟
ليش متشرح بالعربي .
خلي يصير عدنة محتوى بالعربي جيد لان المحتوى الانكليزي كلش هواي