title: How to read values from web.config
body: <p>How to read the app key serviceRefPath key in my web.config</p>
  
  <pre><code>&lt;appSettings&gt;
  &lt;add key="serviceRefPath" value="http://localhost/TempWS/MachineHistoryWS.asmx"/&gt;
  &lt;/appSettings&gt;
  </code></pre>
  
  <p>into my .aspx page</p>
  
  <pre><code>&lt;asp:ScriptManager ID="sm" runat="server"&gt;
      &lt;Services&gt;
          &lt;asp:ServiceReference Path="serviceRefPath here" /&gt;
      &lt;/Services&gt;
  &lt;/asp:ScriptManager&gt;
  </code></pre>
  
  <p>Is it possible to access the key? Thank you in advance.</p>