Configuration System

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
 
P

Patrice

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

Patrice
 
J

Juan T. Llibre

Yes, and it also does that for :

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

Kevin Spencer

FileSystemWatcher.

--
HTH,

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

Guest

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top