Water Cooler v2
Water Cooler v2

Reputation:

.NET Configuration File Cache

I thought that .NET updates its cache every time the source configuration file gets updated without having to restart the application domain.

I realize it doesn't. Or am I missing something?

Upvotes: 0

Views: 644

Answers (1)

Henk Holterman
Henk Holterman

Reputation: 273701

There is no cache for configuration files.

You can refresh your loaded configuration, but it takes a little effort. I assume you could set a FileSystem event on the app.config to get notified.

See some older questions here and here.

Upvotes: 1

Related Questions