I have a WCF Data Service in a ASP.NET MVC 3 App on IIS 7. I have configured the web.config to have the following...
and
I also have a Silverlight app that queryies the webservice. I expect my data to be compressed in some way, but after looking at fiddler, I don't see any compression at all.
What am I doing wrong?
Thanks,
Joe
[UPDATE]
I forgot to mention that I'm using the absolute latest Telerik ASP.NET AJAX control, and the latest, minus the controls they released on April 19 for silverlight
<
system.webServer
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
modules
runAllManagedModulesForAllRequests
=
"true"
>
<
add
name
=
"RadCompression"
type
=
"Telerik.Web.UI.RadCompression"
/>
</
modules
>
<
handlers
>
<
remove
name
=
"asset"
/>
<
add
name
=
"asset"
preCondition
=
"integratedMode"
verb
=
"GET,HEAD"
path
=
"asset.axd"
type
=
"Telerik.Web.Mvc.WebAssetHttpHandler, Telerik.Web.Mvc"
/>
<
add
name
=
"Ajax"
verb
=
"POST,GET"
path
=
"ajax/*.ashx"
type
=
"Ajax.PageHandlerFactory, Ajax"
/>
</
handlers
>
</
system.webServer
>
<
httpModules
>
<!-- Add this line exactly as is - the name value is important -->
<
add
name
=
"RadCompression"
type
=
"Telerik.Web.UI.RadCompression"
/>
</
httpModules
>
I also have a Silverlight app that queryies the webservice. I expect my data to be compressed in some way, but after looking at fiddler, I don't see any compression at all.
What am I doing wrong?
Thanks,
Joe
[UPDATE]
I forgot to mention that I'm using the absolute latest Telerik ASP.NET AJAX control, and the latest, minus the controls they released on April 19 for silverlight