How should I store a lookup collection?
<p>I am debugging an application that uses an XML file to store data as key/value pairs.</p>

<p>Every pageload the XML file is parsed to populate a Dictionary collection with these key/value pairs. The Dictionary is then used to look up values based on their keys.</p>

<p>Is this method of loading data from an XML file on every page load a good practice?</p>

<p>Here are some thoughts:</p>

<ul>
<li>Should the XML data be stored in a database table instead?</li>
<li>Should I work with a collection or hit the database for every lookup request?</li>
<li>Could the collection be loaded on application start and set as a global/application property?</li>
</ul>

<p>What do you guys think?</p>
