I have an ASP.NET application targeting .NET 4.0, which uses an ASMX service class for AJAX. One of the methods of that class returns a Tuple<string, string,int>[]
to populate one of the controls. This has worked since the beginning (several weeks) with zero issues until today, but after changing a line of code in a totally unrelated method within that service class, the application now yellow-screens with the error System.Tuple`3[System.String,System.String,System.Int32] cannot be serialized because it does not have a parameterless constructor.
The documentation doesn't show a parameterless constructor, and I understand from other answers why one is needed. The question is, with these things being true, how has this ever worked? And, more practically, how do I get it working again, hopefully without re-implementing Tuple?