Adding an IMemoryCache to EF Core Repository Pattern
March 7, 2025
• 1,082 views
entity frameworknick chapsasc# entity framework dersleriefcoremicrosoft mvpsqlc# entity framework wpfef coredotnetef core vs dapper performancechapsasef core performanceentity framework corerepository patternrepositorydesign patternsrepository pattern asp.net coresqlitec# entity framework coreC# entity frameworkef core tutorialentity framework tutorialIMemoryCacheCaching C#C# memory cachedesign patterncaching tutorial
In prior videos, we wrapped a repository pattern around our EF Core calls -- and yes, this drives some people nuts. In this video, we'll look at enhancing our repository by adding a cache with IMemoryCache!
