title: Posting JSON to apicontroller
body: <p>I'm struggling with the "new" WebApi in Asp.Net...</p>
  
  <p>I just want to post some Json but it is not deserializing my data... what am i doing wrong?!</p>
  
  <p>Controller class</p>
  
  <pre><code>    public class UtilityController : ApiController
      {
          [HttpPost]
          public string Bla(Bla bla)
          {
              return "bla";
          }
      }
  </code></pre>
  
  <p>Bla Class:</p>
  
  <pre><code>    public class Bla
      {
          public string Een { get; set; }
          public string Twee { get; set; }
      }
  </code></pre>
  
  <p>Api config:</p>
  
  <pre>
  
      config.Routes.MapHttpRoute(
          name: "DefaultApi",
          routeTemplate: "api/{controller}/{Action}/{id}",
          defaults: new { id = RouteParameter.Optional }
      );
  
  </pre>
  
  <p>Posted Data:</p>
  
  <pre>
  
      var bla = $.parseJSON('{"Een":"UNO","Twee":"DUE"}');
      $.ajax({
      type: "POST",
      url: "/api/utility/Bla",
      data: {Bla : bla},
      dataType: "json"
      }).done(function( msg ) {
      alert( "Data Saved: " + msg );
      });
  
  </pre>