Detecting and reloading updated application parameters at runtime
        Posted  
        
            by 
                VeeKayBee
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by VeeKayBee
        
        
        
        Published on 2014-06-13T09:13:51Z
        Indexed on 
            2014/06/13
            9:25 UTC
        
        
        Read the original article
        Hit count: 248
        
I am working on an ASP.NET web application(using .NET 4.5 and C#).The application deals with lot of units (for measuring like KG,Litre,KM etc). So based on the selected unit we have to implement some allowed range.This values can be configured without much effort. We identified two solutions for this
- Keeping a configuration xml. Suppose the values in xml, does it requires an iisreset or any other thing which can take the site down for some time, if we are changing the xml file to change some validation. 
- Keeping in Db, then use SQL dependency caching. So an update to DB can reflect the caching values.SO i believe if we change the values, it will update the cache. How much complex is this and does it effect the performance ? 
It will be great helpful, if we have some other method to achieve this.
Thanks in advance.
© Stack Overflow or respective owner