Solved

Application State, Public Static/Shared Member or Database

Posted on 2012-03-14
1
213 Views
Last Modified: 2012-03-20
Hello

I have many pages on my site that draw data from a DB, there are small parts of text in places on the page that are user entered and editable but do not change very often, stored in the DB.

I can't cache the pages as the other data on the page needs to be in real time, but can I store these pieces of text else where?

If when the web app starts if I get all these pieces of text and store them in app state/static member would this increase performance? Or is there a better way to go about it?

Also if this text is updated can I have a method that will update the app state/static member so the changed text becomes available without restarting the app?

Many thanks
0
Comment
Question by:badpilot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 37722023
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question