All fields

“Caching (In-Memory” in Information Technology

22 questions across 1 technology.

Information Technology

22 questions in 1 technology

#QuestionTechnologyTopicLevel
1What is IMemoryCache, and when is it appropriate to use for caching in ASP.NET Core? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Beginner
2What is response caching middleware in ASP.NET Core, and how does it differ from application-level data caching? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
3What is cache-aside (lazy loading) pattern, and how does it compare to write-through caching? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
4What HTTP caching headers (Cache-Control, ETag) can a client and CDN use, and how do they relate to server-side caching strategies? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
5What are the risks of caching sensitive or user-specific data, and how do you avoid cache poisoning across users? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
6How does HybridCache (introduced in .NET 9) combine in-memory and distributed caching to solve common pain points? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
7How does Redis's data structure support (beyond simple key-value) enable caching patterns not possible with IMemoryCache? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
8What does the GetOrCreateAsync pattern accomplish when working with IMemoryCache, and why is it preferred over separate TryGetValue/Set calls? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Beginner
9What is the difference between absolute expiration and sliding expiration when configuring a cache entry? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
10How do you configure and use Redis as a distributed cache in ASP.NET Core with StackExchange.Redis? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
11What are common cache invalidation strategies, and why is cache invalidation considered a genuinely hard problem? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
12What is IDistributedCache, and how does it differ from IMemoryCache in a multi-instance deployment? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
13What is the 'cache stampede' (thundering herd) problem, and how can you mitigate it? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
14How would you implement cache tag-based invalidation to clear a group of related cache entries at once? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
15How do you handle cache serialization for complex objects when using IDistributedCache, given it only natively supports byte[]? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
16What is Entity Framework Core, and how does it relate to the Repository and Unit of Work patterns? .NET › Entity Framework Core & Data Access.NETEntity Framework Core & Data AccessBeginner
17What is Docker Compose, and how does it simplify running a multi-container .NET application locally (e.g., API + database + Redis)? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate
18How does token revocation work with stateless JWTs, given they can't simply be 'deleted' server-side once issued? .NET › Authentication & Authorization (Identity, JWT, OAuth).NETAuthentication & Authorization (Identity, JWT, OAuth)Advanced
19What is a 'circuit' in Blazor Server, and how does server-side state management work across it? .NET › Blazor (Server & WebAssembly).NETBlazor (Server & WebAssembly)Advanced
20How does service lifetime (Scoped, Singleton, Transient) have different practical meaning in Blazor Server versus Blazor WebAssembly? .NET › Blazor (Server & WebAssembly).NETBlazor (Server & WebAssembly)Advanced
21How would you design configuration for a multi-tenant application where each tenant needs different settings resolved at runtime? .NET › Configuration & Options.NETConfiguration & OptionsAdvanced
22What are the main strategies for optimizing performance in a .NET application? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceAdvanced