WCF - Is that good to use “DataSet” for transferring data through NetTcpBinding
问题 One of by service contract passes a Huge DataSet to the Client. I am using BufferedTranfer mode. In very rare cases I have more data to be send, because of this reason I am in a confusion to change the TransportMode to Streamed. Is that good practice to use "DataSet" for transfer data through NetTcpBinding ? Any alternatives to DataSets ? 回答1: Please, do not return datasets from a WCF service. For information why see: Returning DataSets from WebServices is the Spawn of Satan and Represents