{"comment":{"created_at":"2011-10-26T03:40:03Z","body":"Hi David,\r\n\r\nSorry, I have continued the discussion on the Stack Overflow thread. \r\n\r\nTo elaborate, sending the same object received be server push, back to the hub causes a serialization failure. \r\nSo, it seems the server deserialization is different from the server serialization... But I've demonstrated this more clearly on SO\r\n\r\nThanks\r\n\r\nSent from my iPhone\r\n\r\nOn 26/10/2011, at 4:15 PM, David Fowler<reply@reply.github.com> wrote:\r\n\r\n> Not sure what you mean? Are you saying things are double serialized? We serialize outgoing messages using the JavascriptSerializer in System.Web.Extensions by default (you can replace this).\r\n> \r\n> -- \r\n> Reply to this email directly or view it on GitHub:\r\n> https://github.com/SignalR/SignalR/issues/46#issuecomment-2526095\r\n> ","updated_at":"2011-10-26T03:40:03Z","url":"https://api.github.com/repos/SignalR/SignalR/issues/comments/2526220","id":2526220,"user":{"gravatar_id":"d62b856cf2ee9ed0f4147f2d9ebc53fa","avatar_url":"https://secure.gravatar.com/avatar/d62b856cf2ee9ed0f4147f2d9ebc53fa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/alangley","id":780785,"login":"alangley"}},"action":"created","issue":{"number":46,"created_at":"2011-10-25T21:54:16Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I am using WCF data services to 'query' for data models from my web application, but then I use SignalR to receive 'push' updates.\r\n\r\nWCF Data Services (OData) formats dates as a string in the format \"/Date(1319493384779)/\". This is fine, because I then generate client-side (javascript) viewmodels where I create actual Javascript Date() objects. SignalR also sends DateTime objects from the server to the client as \"/Date(1319493384779)/\", but it appears to expect an actual Date() object when passing from javascript to a server hub method via Javascript - using the above date format causes a format exception in the JSON deserializer. This is rather inefficient, because I already have a model object in javascript, and I should just be able to send it to a SignalR hub as-is.\r\n\r\nDoes anybody have any idea why this is happening?\r\n\r\n(SO: http://stackoverflow.com/questions/7882535/signalr-datetime-request-response-disparity)","comments":2,"title":"Signalr DateTime Request/Response disparity","updated_at":"2011-10-26T03:40:04Z","url":"https://api.github.com/repos/SignalR/SignalR/issues/46","id":2050474,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"d62b856cf2ee9ed0f4147f2d9ebc53fa","avatar_url":"https://secure.gravatar.com/avatar/d62b856cf2ee9ed0f4147f2d9ebc53fa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/alangley","id":780785,"login":"alangley"},"html_url":"https://github.com/SignalR/SignalR/issues/46","labels":[],"state":"open"},"legacy":{"issue_id":2050474,"comment_id":2526220}}