I am new to C# rest API, I have a collection of data that is created when the user POST data into my REST api, What is the best way to keep this data in memory ? The data is stored in a c# collection. I do not have a database to store this day, it must stay in memory for the life of the application.
I hope this is enough information for you guys to point me in the right direction.