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

2 posts, 0 answers
  1. Joseph Roberts
    Joseph Roberts avatar
    47 posts
    Member since:
    Jul 2004

    Posted 21 Apr 2011 Link to this post

    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
  2. Joseph Roberts
    Joseph Roberts avatar
    47 posts
    Member since:
    Jul 2004

    Posted 22 Apr 2011 Link to this post

    Ok, I fixed my own problem.  I created a new Silverlight enabled web service, and now it's compressing fine. 
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top