I have a WCF service that returns JSON.
From this morning, I started getting the following error:
DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON
Just for the test, I passed the date today to all DateTime variables returned with JSON, but I get the same error.
The code is about 2 thousand lines, so I do not see the value when placing it here.
Any idea how to solve it?
source share