I have a very large c# website that is broken down into separate applications and separate app pools running on the same server. (background) I am using the .net 4.6.x framework. ASP.NET WebForms & MVC. Some application pools still use "Classic" and the MVC applications use "Integrated".
I want to share certain cached items across the different applications. I do not want each application to have its own copy of the cache. I want just one shared instance of the cache.
Here is the heart of my question...
How do I share a single instance of MemeroyCache across all my application pools on the same server? If one application pool puts something in the cache I want to be able to retrieve it from the other application / pools. Is this possible or do I need to look at a different technology. Any examples or suggestions would be great. :)
Thank you in advance!