title: Importing JSON from ASP.NET server, for JSON.NET
body: <p><strong>Question</strong>:<br>
  What is the best way to pull JSON from a .json file on my server, into code, so it can be deserialized into a .NET object?</p>
  
  <p><strong>Details</strong>:<br>
  I have a file called "backlog.json" saved in my VS2013 Express MVC project. The file was not created by my project - it has been added to the project by doing "Add Existing Item."  </p>
  
  <p>"backlog.json" is a collection of json objects. I need to pull these objects from the collection, so I can add to the database my project uses and manipulate with my project.  </p>
  
  <p>The project uses .NET Framework 4.5, and I've added <a href="http://www.newtonsoft.com/json/help/html/Introduction.htm" rel="nofollow">NewtonSoft's Json.NET</a> to the project, using NuGet package manager. Once I get the objects from "backlog.json" into my code, I'll use Json.NET to deserialize and manipulate the objects through C#.</p>
  
  <p>For example, something like:  </p>
  
  <pre><code>public void AddJSON(EFWorkOrderModelContainer WorkOrderContainer)
  {
      // Pull backlog.json from C:\Project\App_Data\backlog.json
      // De-serialize and parse
  }
  </code></pre>