You can cache with memory and redis just one line with Protobuf. 
                        
                    
         
                Info
| Version: | 1.0.17 | 
| Author(s): | TATLISU Ltd. | 
| Last Update: | Thursday, July 2, 2020 | 
| .NET Fiddle: | Create the first Fiddle | 
| NuGet Url: | https://www.nuget.org/packages/CacheMiss | 
Install
Install-Package CacheMiss
                        dotnet add package CacheMiss
                        paket add CacheMiss
                        
                                CacheMiss Download (Unzip the "nupkg" after downloading)
                            
                        Dependencies
- Microsoft.EntityFrameworkCore(>= 3.1.0)
- Microsoft.EntityFrameworkCore.Relational(>= 3.1.0)
- Microsoft.EntityFrameworkCore.SqlServer(>= 3.1.0)
- Microsoft.Extensions.Caching.Memory(>= 3.1.0)
- Newtonsoft.Json(>= 12.0.3)
- protobuf-net(>= 2.4.4)
- StackExchange.Redis(>= 2.0.601)
- System.Data.SqlClient(>= 4.8.0)
Tags
