I am binding to an existing ASMX web service using a WCF service reference. I have a method that returns a DataSet object that contains a string of 500k length.
As a standard "old-school" web reference, calling this method takes around 2-3 seconds to complete. As a WCF service reference this is taking 20+ seconds to complete. This is having an impact on our systems now :(
I've tried altering the bindings to max out all the maxReceivedMessageSize and maxBytesPerRead etc, but it hasn't made any difference.
Why is the WCF reference so much slower and what can I do to fix this?