title: How to add section to web config programmatic in SharePoint
body: <p>I have lot of custom entries to be made in a web config in SharePoint. 
  Is there a way we can do it programatically.
  such as i have 
    this to add under </p>
  
  <pre><code> &lt;PageParserPath&gt;
  &lt;PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="true"      IncludeSubFolders="true" /&gt;
  </code></pre>
  
  <p>also i have a complete new section to be added called </p>
  
  <pre><code>&lt;connectionstring&gt;
  entries here
  &lt;/connectionstring&gt;
  </code></pre>
  
  <p>how can i do it programtically any ideas please</p>