title: How to get the file path using key from webconfig file
body: <p>I have JSON file stored in my D drive. I have mentioned the same in web config file. Please refer the below code</p>
  
  <pre><code>    &lt;appSettings&gt;
      &lt;add key="inputFilePath" value="D:\products.json"/&gt;
      &lt;/appSettings&gt; 
  </code></pre>
  
  <p>When I try to get the file path using the below code, I am getting null value.</p>
  
  <pre><code>    string filepath = ConfigurationManager.AppSettings["inputFilePath"];
  </code></pre>
  
  <p>Please can any one help me on this</p>