While debugging an issue with an old Silverlight application, I narrowed down the problem to a particular WCF service call, which looks something like:
_serviceClient.UpdateFooAsync(fooDto);
This code hasn't been changed in years, and it has largely worked as expected. With one specific entity, however, the call fails silently. The asynchronous invocation occurs as usual, but no corresponding HTTP request occurs and the handler that would fire when the event completes -- erroneously or otherwise -- is never invoked.
Here are some additional details:
System.ServiceModel.ClientBase<T>
. BasicHttpBinding
. I tried increasing all the quotas and limits to their maximum values but it didn't help. Because this issue is happening only in the case of one specific entity, I can only assume some aspect of that entity is to blame, but I've been unable to spot whatever that is.
The Http Activation option must be enabled on the server features, inside the .NET framework and WCF services. This options may be disabled during some update.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.