.net - How to cache/store application settings in a class library -


i have created class library may used windows or web application. settings required class library intensively should read app.config or web.config of calling apps in of methods inside class library. increase performance, want cache how these settings info each app.

how can that? 1 suggestion using httpruntime.cache object. method may using static variable store data may have appdomain / scope conflict issues..

so, i'm not sure best way doing (note general class may used windows or web apps)

are sure there performance issue in calling app.config members or guess ?
config accessors not perform i/o config classes if coded generate compiled properties, think not of problem , doubt gain performance caching it.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -