This is a migrated thread and some comments may be shown as answers.

Not getting any compression!!! Please Help!!!

1 Answer 75 Views
Compression
This is a migrated thread and some comments may be shown as answers.
Joseph Roberts
Top achievements
Rank 1
Joseph Roberts asked on 22 Apr 2011, 01:26 AM
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...

<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>
and
<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

1 Answer, 1 is accepted

Sort by
0
Joseph Roberts
Top achievements
Rank 1
answered on 22 Apr 2011, 01:36 PM
Ok, I fixed my own problem.  I created a new Silverlight enabled web service, and now it's compressing fine. 
Tags
Compression
Asked by
Joseph Roberts
Top achievements
Rank 1
Answers by
Joseph Roberts
Top achievements
Rank 1
Share this question
or