<p>I am looking for a method of storing Application Messages, such as</p>

<ul>
<li>"You have logged in successfully"</li>
<li>"An error has occurred, please call the helpdesk on x100"</li>
<li>"You do not have the authority to reset all system passwords" etc</li>
</ul>

<p>So that "when" the users decide they don't like the wording of messages I don't have to change the source code, recompile then redeploy - instead I just change the message store.</p>

<p>I really like the way that I can easily access strings in the web.config using keys and values.</p>

<pre><code>ConfigurationManager.AppSettings("LOGINSUCCESS");
</code></pre>

<p>However as I could have a large number of application messages I didn't want to use the web.config directly. I was going to add a 2nd web config file and use that but of course you can only have one per virtual directory.</p>

<p>Does anyone have any suggestions on how to do this without writing much custom code?</p>

[{'answer_id': 30325, 'author': 'Tundey', 'author_id': 1453, 'author_profile': 'https://Stackoverflow.com/users/1453', 'pm_score': 2, 'selected': False, 'text': '<ul>\n<li>Put the strings in an xml file and use a filewatcher to check for updates to the file</li>\n<li>Put the strings in a database, cache them and set a reasonable expiration policy </li>\n</ul>\n'}, {'answer_id': 30326, 'author': 'FlySwat', 'author_id': 1965, 'author_profile': 'https://Stackoverflow.com/users/1965', 'pm_score': 4, 'selected': True, 'text': '<p>In your Web.config, under appSettings, change it to:</p>\n\n<pre><code>&lt;appSettings file="StringKeys.config"&gt;\n</code></pre>\n\n<p>Then, create your StringKeys.config file and have all your keys in it.</p>\n\n<p>You can still use the AppSettings area in the main web.config for any real application related keys.</p>\n'}, {'answer_id': 30338, 'author': 'aku', 'author_id': 1196, 'author_profile': 'https://Stackoverflow.com/users/1196', 'pm_score': 0, 'selected': False, 'text': '<p>You can use <a href="http://msdn.microsoft.com/en-us/library/system.resources.resourcemanager.aspx" rel="nofollow noreferrer">ResourceManager</a> class. See "ResourceManager and ASP.NET" article at <a href="http://msdn.microsoft.com/en-us/library/aa309419(VS.71).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/aa309419(VS.71).aspx</a></p>\n'}]
['https://Stackoverflow.com/questions/30321', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/982/']