Through various sources on the web, I've seen simple ways to modify web.config from a SharePoint feature. However they are typically one liners. But if I need to add a WCF Binding such as this:
<bindings> <wsHttpBinding> <binding name="thisName"> <security mode="None" /> </binding> </wsHttpBinding> </bindings> <client> <endpoint address="http://thisserver" binding="wsHttpBinding" bindingConfiguration="thisConfig" contract="thisContract" name="thisName" /> </client>
Not sure what would be the easiest way to do such a bulk insert. It would be under and most likely the entire block would have to be inserted as typically WCF bindings aren't used in web.config's.