Hi there,
I wish to remove the connection strings from my web.config, and setting them programmatically. This works just fine, but there's that sqlCacheDependency (under 'caching') section which gives me a headache. It requires a connection string name within the web.config to operate.
Moreover, I have the 'roleManager' and 'membership' elements that too need the connection string name in thier attributes.
I've tried getting a reference to the sqlCacheDependency object in order to change it's connection string value programmatically, but couldn't.
Can anyone think of a way this can be possible ? I've even started thinking of removing it from the web.config and create a static object for this kind of caching ..