Feedback on ASP.NET Web API

Web API XML Serialization of DateTimeOffset in ISO 8601 format

Web API 2 serialize DateTimeOffset as two different values:

Datetime
OffSetMinutes

It should be serialized as a singlue value and in ISO 8601 format just like JsonMediaTypeFormatter does. There's a work around to have string property for every datetimeoffset property that you have in your model and would like to have as single value and in ISO 8601 format. It would be good if it is out of box support just like JsonMediaTypeFormatter.

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    NileshNilesh shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base