Sunday, 15 April 2012

c# - Caching data at server layer -



c# - Caching data at server layer -

i looking @ options caching info @ service layer off web application (server layer gets info other systems , @ web front end end dont want go on round trip info each time - cache 20 mins , if not null load cache if not go , retrieve it

i have looked @ dynacache looks if should want have been having problems getting working simpleinjector di framework. has used similar nuget bundle or got illustration of doing similar?

i typically set web service layer little caching possible, , leave caching client. if website needs cache set of data, that's own responsibility. if web application needs real-time access, don't want hinder that.

if need cache, static list hardly changes, typically utilize memorycache , set rolling timeout. this, write wrapper utilizes lambda func in .get() property of caching service source of cache key if value happens null.

c# .net caching

No comments:

Post a Comment