I have some WCF services. These services run in ASP.NET. I want these services to have access to a static variable. My problem is that I'm not sure where the corresponding server-level storage engine is located. I do not want to use the database because of speed. But I want the static variables to remain in memory as long as possible. In fact, I would like it to stay until I restart my server, if possible.
Can someone provide me any ideas?
user609886
source share