WCF Service Problem Only in Production when return larger objects
- by Ronnie Overby
First, here's my service contract:
[ServiceContract]
public interface IUpdateService
{
[OperationContract]
IEnumerable<SoftwareUpdate> GetUpdates(string version);
[OperationContract]
bool AreUpdatesAvailable(string version);
}
And here's SoftwareUpdate:
[DataContract]
public class SoftwareUpdate
{
[DataMember]
public Version Version { get; set; }
[DataMember]
public byte[] UpdateArchive { get; set; }
}
The problem I am having is that, in production, as the UpdateArchive property begins to contain more data.