title: How can i read web.config from DLL using C#?
body: <p>suppose i have a project named dummyCode.sln, now when i compile the project i would get a dll named dummyCode.dll.</p>
  
  <p>How can i read this DLL using c# and get the information of my web.config</p>
  
  <p><strong>for example if i have a web.config like this</strong></p>
  
  <pre><code>&lt;configuration&gt;
   &lt;appSettings&gt;
      &lt;add key="webpages:Version" value="3.0.0.0" /&gt;
      &lt;add key="webpages:Enabled" value="false" /&gt;
      &lt;add key="ClientValidationEnabled" value="true" /&gt;
      &lt;add key="UnobtrusiveJavaScriptEnabled" value="true" /&gt;
      &lt;add key="employeeDB" value="Data Source=servername;Initial Catalog=employee;Persist Security Info=True;User ID=userid;Password=password;"/&gt;
    &lt;/appSettings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>then i want to read al the values found inside the appsettings attribute, how can i do it, is it possible to do?</p>