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