Configuration System

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I Know that if there is any change to web.config file there is no need to
restart the application
but how does aspnet tracks this information
i understand that aspnet caches the web.config file during the first request
and uses it for high performance
so this tracking of web.config is possible
pls reply at the earliest

thanks
 
AFAIK it uses a Windows API that catch "updates" to the file system. This
API is also exposed as Managed classes (FileSystemWatcher).

Patrice
 
Yes, and it also does that for :

Machine.config
Files in the Bin directory of an ASP.NET application
Cache dependency files



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
 
FileSystemWatcher.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
Back
Top