This question is locked. New answers and comments are not allowed.
Hi,
I'm using ORM and the DSW to link a WPF-client app with a WCF back-end. The WCF back-end (obviously) is generated using the data services wizard, and in the client app I'm using the DataManager class to access it.
I have IIS7 dynamic compression turned on and have added the atom+xml MIME type to the IIS config. If I make a request via IE, for example, I can clearly see (via Wireshark) an Accept-Encoding header is sent and the server returns compressed data. Making calls to the same endpoints via the DataManager, however, no Accept-Encoding header is sent and I'm getting uncompressed streams back. This is looking like it might be an important issue for the app because of some very slow link speeds at certain sites, and I'm wondering if there's a way (without rewriting my app to no longer use the DataManager!) to simply tell it to signal the server that it can accept gzip data.
I have seen a note about using RadCompression in Silverlight apps elsewhere on these forums, but adding the config section for RadCompression resulted in an error because it couldn't resolve the dependency, and I can't find a matching DLL to reference.
Anyone got any helpful tips? :)
Cheers,
Kev
PS - if it makes a difference, I'm using the Q2 2011 version (developer version, annual licence expired in Sept so I don't get Q3).
I'm using ORM and the DSW to link a WPF-client app with a WCF back-end. The WCF back-end (obviously) is generated using the data services wizard, and in the client app I'm using the DataManager class to access it.
I have IIS7 dynamic compression turned on and have added the atom+xml MIME type to the IIS config. If I make a request via IE, for example, I can clearly see (via Wireshark) an Accept-Encoding header is sent and the server returns compressed data. Making calls to the same endpoints via the DataManager, however, no Accept-Encoding header is sent and I'm getting uncompressed streams back. This is looking like it might be an important issue for the app because of some very slow link speeds at certain sites, and I'm wondering if there's a way (without rewriting my app to no longer use the DataManager!) to simply tell it to signal the server that it can accept gzip data.
I have seen a note about using RadCompression in Silverlight apps elsewhere on these forums, but adding the config section for RadCompression resulted in an error because it couldn't resolve the dependency, and I can't find a matching DLL to reference.
Anyone got any helpful tips? :)
Cheers,
Kev
PS - if it makes a difference, I'm using the Q2 2011 version (developer version, annual licence expired in Sept so I don't get Q3).