WCF to ASMX binding much slower returning large data than standard web reference?

You do need to look at a number of aspects, not least that you are comparing like for like in terms of data quantities. It may be that there are other factors that have caused the slow down.

You do need to look at a number of aspects, not least that you are comparing like for like in terms of data quantities. It may be that there are other factors that have caused the slow down. My first question would be why have you changed it to WCF?

Was there a specific reason for this - I know it is the right way to go but is there a specific reason that meant this needed to be changed now? Were there any changes to the interface that might have had wide ranging effects. The WCF is liable to be slightly slower, because of the object processing, but it should not have anything like this difference.

Which would all point to something else in the environment being the real issue.

It wasn't changed, it has always been a wcf reference, the web reference was added to test the speed as we have other applications which download the same data from the same web service without any speed issues. I'd like to add that this web service does live behind an ssl cert over https. – Duncan Watts Jun 23 at 13:16 OK, some of the parts of the interface will slow stuff down ( WCF and SSL ), but not significantly, unless you are processing very substantial amounts of data.

This would point to an environmental change. Can you run the tests with both the new and the old-school and new-school methods, and compare times. Then I would suggest ensuring database access is the same.

There is not straightforward answer, and there should not be this difference, so you will have to chase through to identify where the problem is coming from. – Schroedingers Cat Jun 27 at 11:54.

There is the BasicHttpBinding and WSHttpBinding, and to simulate an asmx, BasicHttpBinding is recommended. In general, WCF should be at least comparable to their asmx counterpart. If that doesn't help, try tweaking the concurrency settings and instantiation modes for the WCF.

It would seem that there are a few issues here.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions