c# - In-Memory class without using database -
i have concern. want know how can create utilize of in-memory class in c# .net using mvc 4 in visual studio 2010. mean not want utilize database or other external storage medium repository.
i want store data, retrieve info class.
i heard "caching" have own limitations.
i not utilize type of repositories, because using repository, have made using http://www.edandersen.com/2013/05/30/asp-net-mvc-basics-part-2-viewmodel-to-model-mapping-and-editing/.
so can suggest me how this?
what's goal?
if info of import persist can't have in memory. iis apps can restart @ time due many reasons. info lost without notice.
if info meant cache either utilize indeed cache or static variable (with proper synchronization).
c# database asp.net-mvc-4 razor dbcontext
No comments:
Post a Comment