Is it possible to run Redis in process under .NET?
I understand the general use case is for Redis is out of process, and likely on another server. The app I’m working on has needs for both in-process caching and out of process caching. My thinking here is that I would like to use the same app/library for both the in process and out of process needs.
No, you can’t do that. You should use
Cacheor alike in-process.But you are definitely on the right track, doing 2 level caching (L1+L2). Stack Exchange themselves do so. See for example: