Views: 6.7K
Replies: 1
Archived
|
Caching using Singleton patternWe are planning to implement caching using Singleton pattern. Will that be a best approach. Need advantages and disadvantages
Sudheer R, Feb 19, 2015
|
|
Reply 1Hi Sudheer:
What is it exactly that you are trying to accomplish by using a Singleton pattern and caching data? Alternatively you could simply create a static class (you could name it Cache) and then maintain a MemoryCache object inside, Jack Jack Poorte, Mar 02, 2015
|