title: Return Entity Framework objects as JSON with NancyFx
body: <p>I'm building a small API (for read operations - GET) using NancyFX and C# with .NET 4.0 </p>
  
  <p>I'm using Entity Framework 6.0 in order to access a SQL Server 2008R2 database.</p>
  
  <p>I have the following route exposed with Nancy (this is just for testing purposes):</p>
  
  <pre><code>public ExampleNancyModule() 
  {
      Get["/v1/address_types"] = parameters =&gt;
      {
          var address_types = context.address_type.First();
          return Response.AsJson(address_types);
      };
  }
  </code></pre>
  
  <p>I'm able to access the route with Postman, however I'm receiving an empty response body. How can I return the object and/or a list of objects with Nancy?</p>
  
  <p>I guess there's more configuration that needs to be done first. I'm new with Nancy, I just started using it this morning. It seems promising!</p>
  
  <p>Thanks for the support.</p>