afroblanca
Programmer
Here's the situation -
I'm writing a custom WebControl that accepts a number of parameters to determine how it behaves. Now, I could take accept these parameters through Properties in the WebControl itself. However, the number and complexity of the parameters would seem to necessitate a structured data format like XML. However, I'm concerned about performance. Assuming that this control lives on the homepage of a website, what kind of a performance hit could I expect if I have the control read its configuration data from an XML file? If the performance hit is significant, what steps can I take to mitigate this? I should mention that I'm not in favor of using any of .NET's server-side caching objects.
I'm writing a custom WebControl that accepts a number of parameters to determine how it behaves. Now, I could take accept these parameters through Properties in the WebControl itself. However, the number and complexity of the parameters would seem to necessitate a structured data format like XML. However, I'm concerned about performance. Assuming that this control lives on the homepage of a website, what kind of a performance hit could I expect if I have the control read its configuration data from an XML file? If the performance hit is significant, what steps can I take to mitigate this? I should mention that I'm not in favor of using any of .NET's server-side caching objects.