How do I persist data in memory with .net rest api
<p>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.</p>

<p>I hope this is enough information for you guys to point me in the right direction.</p>