0

I have problem with rewriteMaps in Web.config. My rewriteMaps section is in separate file, something like this configSource="webConfigRules\rule1.config". It's working, but only for static rules. I would like to make changes and refresh whole rewriteMaps section without server restart.

It is possible?

Niezborala
  • 1,857
  • 1
  • 18
  • 27

1 Answers1

0

IIS will recycle the application pool when your web.config file changes but not for the rewrite rules file. You can either manually recycle the app pool or force a recycle using another method. This answer gives a good explanation if you need more information Does any change in any file inside bin folder cause application recycle in ASP.NET web application?

Community
  • 1
  • 1
DavidG
  • 113,891
  • 12
  • 217
  • 223