I see. EntLib 5.0 has a new feature called
Fluent Configuration API which you can use.
However, the UpdateConfigurationWithReplace method of the ConfigurationSourceBuilder class will replace the entire section which you configured. For example, in the sample code
here for configuring the security block, if your original config contains 5 Authorization Providers, the call to builder.UpdateConfiguratioinWithReplace will replace the entire securityConfiguration section and thus will only contain
1 Authorization Rule Provider named "MyRules".
Thus, your way around this would be to recreate the config with every change the user makes. Even if he is only modifying an expression, your fluent configuration code will reconfigure the entire security configuration.
Let me know if anything is unclear.
Global Technology & Solutions