Is there a simple way to store a simple table in memory on the server in ASP.NET that all users would share? Let’s say I have a simple chat program for instance and I only ever want to hold the last 100 records in memory (this isn’t a real application, just an example). Say I didn’t want to have an entire table in SQL dedicated to being this chat buffer with only 100 records. Is there some way I could create an in-memory data table and share it among connected users?
Share
Use Cache (MSDN)