troubleshooting Question

Is a GENERIC web.config possible?

Avatar of volking
volking asked on
.NET ProgrammingEditors IDEs
11 Comments1 Solution704 ViewsLast Modified:
I build ASP.NET websites on my local box, then PUBLISH them to webservers.

I have about a dozen WEB.CONFIG settings, which need to change, every time I publish to a webserver. So, I've been EXCLUDING the WEB.CONFIG from my projects so they don't overlay the differences on each webserver ....

Arrrrrrrgh! Meaning, any time I make a web.config change, I gotta MANUALLY update all the other webserver's web.config files ....

Has anyone successfully built a GENERIC web.config?

Meaning, all web.config settings, for ALL webservers, are in one web.config, and the SERVER decides, based on it's NAME, which section of the Web.Config to use?

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros