Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Application State, Public Static/Shared Member or Database

Posted on 2012-03-14
1
Medium Priority
?
221 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
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 37722023
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

916 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