I am looking for some suggestions about dynamicall...
# cfml-general
s
I am looking for some suggestions about dynamically writing the web.config file. In the application onstart, can I call my function to build this file? We have many clients and 3-10 rules for each. Right now, we have a huge web.config in our application root folder. It became this big over the years with rules related to all clients in one file.
d
Hi there!
I've never tried that, nothing to contribute, just hello. (we used to work together)
t
I think it is possible, although I have never tried something likes this. • Dynamically writing the file, sure it is quite easy • Restart your IIS site so the new web.config take effect. Yes, I think you can use something likes cfexecute to run some windows command to restart the IIS site
But if you are talking about a "dynamic evaluated" web.config file based on what "site/domain" it is running, then I doubt there is something likes this