title: WCF REST JSON with ISO Date Format
body: <p>I got into a big problem supporting ISO dateformat with JSON in my WCF Web service ( Framework 4.0 ).
  I tried a lot, but no luck yet.</p>
  
  <p>Rest Service :</p>
  
  <pre><code>    [WebInvoke(Method = "PUT", UriTemplate = "/{mvnoid}/{OrderID}", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
      public DataContracts.Feedback InsertOrder(string mvnoid,string OrderID,OrderRequest orderRequest)
      {            
  
          OrderRequestManager orderProcessor = new OrderRequestManager();
          DataContracts.Feedback feedback = orderProcessor.ProcessOrder(orderRequest);
  
          return feedback;
  
      }
  </code></pre>
  
  <p>This is my object:</p>
  
  <pre><code>[DataContract(Namespace = NamespacesHelper.SCHEMA_NAMESPACE)]
  public class OrderRequest
  {
      [DataMember(IsRequired = true, Order = 1)]
      public string SystemId { get; set; }
  
      [DataMember(IsRequired = true, Order = 2)]
      public string OrderType { get; set; }
  
      [DataMember(IsRequired = true, Order = 3)]
      public DateTime OrderDate { get; set; }
  
      [DataMember(IsRequired = true, Order = 4)]
      public DateTime OrderScheduleDate { get; set; }
  
      [DataMember(IsRequired = false, Order = 5)]
      public int UserId { get; set; }
  
  
  }
  </code></pre>
  
  <p>This is my JSON Payload</p>
  
  <p>{
  "SystemId":"2",
  "OrderType":"TESTORDER",
  "OrderDate":"/Date(1255131630400)/",
  "OrderScheduleDate":"/Date(1255131630400)/",
  "UserId":150
  }
  And I need this "/Date(1255131630400)/" to be in ISO format "2012-10-30T15:00:00".</p>
  
  <p>I tried this solution too. with creating custom JSON formatter.
  <a href="https://stackoverflow.com/questions/9827933/json-net-serializer-for-wcf-rest-services">JSON.NET Serializer for WCF REST Services</a>.
  But I was unable to find HttpHostConfiguration class anywhere . :(</p>
  
  <p>Thanks in Advance for helping.</p>