T
Thorsten Tarrach
Hi everyone,
I currently trying to increase the performance of my HTTP module. This
module is written entirely in C# and plugged into IIS7. In order to work the
module needs some settings from the web.config file. An instrumented run
shows that reading from the config file using a class derived from
ConfigurationSection is very slow.
So I thought about caching these values. It would appear that saving them in
a global variable is safe because the application restarts each time the
web.config file is updated.
I just want to double-check with you that this is proper procedure.
Thanks, Thorsten
I currently trying to increase the performance of my HTTP module. This
module is written entirely in C# and plugged into IIS7. In order to work the
module needs some settings from the web.config file. An instrumented run
shows that reading from the config file using a class derived from
ConfigurationSection is very slow.
So I thought about caching these values. It would appear that saving them in
a global variable is safe because the application restarts each time the
web.config file is updated.
I just want to double-check with you that this is proper procedure.
Thanks, Thorsten