title: Access a Json file from a utility dll on a child folder
body: <p>I'm having trouble accessing a Json file from within a dll in a subfolder.
  Basically this dll needs to get some information from the json file.</p>
  
  <p>Locally I'm able to do it using absolute path, but I couldn't do it with virtual path.</p>
  
  <p>Should I give the path starting from the dll location going up to the json file or use the path from my webapplication global directory and how?</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>WebClient client = new WebClient(); //Get info from Json file string value = 
  client.DownloadString(@"..\..\WebUIProjects\WebAPI\MimeDetec‌​tiveResources\MimeDe‌​tectiveConfiguration‌​.json");
  </code></pre>
  
  <p><strong>Exception:</strong></p>
  
  <blockquote>
    <p>Could not find a part of the path
    'c:\windows\system32\inetsrv\MimeDetectiveResources\MimeDete‌​ctiveConfiguration.j‌​son'</p>
  </blockquote>
  
  <p>Many thanks</p>