Editing web.config through the configuration API is less than ideal
While it's pretty cool that you can programmatically mess with web.config, I'm starting to feel that it's not entirely practical because of the security implications. NETWORK SERVICE needs permission to write to it, or you need to use impersonation. Regardless, this is not xcopy deployment.
If there's a simple, streamlined way to work around this problem, I'd love to hear about it.