Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuration file for managed Http Module

I have a custom HttpModule installed on IIS 7 and is working just fine. Now I want to put settings in a configuration file where I can change them without rebuilding a new module each time.

Where should I put these settings as this module is not hosted inside any application and is server-level module. (being executed before any application).

cheers

like image 525
Bakhshi Avatar asked Feb 21 '26 07:02

Bakhshi


1 Answers

OK,

Here is the result of googling and more research on this issue:

  1. There is another question about adding custom section in iis
  2. Which itself links to another article

So, it seems that it is possible to do such thing as storing shared configuration among sites (to be consumed by IIS7 server level module) in custom configuration section.

like image 130
Bakhshi Avatar answered Feb 23 '26 22:02

Bakhshi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!