title: .NET WebApi - How to return a local json file as a response for a controller
body: <p>I have a web api in .NET MVC with a method that is supposed to return JSON. This JSON content should be stored in a local file in the project.</p>
  
  <pre><code>[HttpGet]
  [Route("my_content")]
  public async Task&lt;HttpResponseMessage&gt; Get()
      {
          // return json file here
      }
  </code></pre>
  
  <p>I'm fairly new to .NET development, so my questions are:</p>
  
  <p>1) Where should I keep this JSON file in the project structure</p>
  
  <p>2) What's the best way to return this JSON file stored locally?</p>
  
  <p>Thanks! </p>