IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 25th, 2012, 09:37 AM
wbcorbettsr wbcorbettsr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 1 wbcorbettsr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 4 sec
Reputation Power: 0
Compression II6

I have the following function running in a webservice:

Code:
<WebMethod()> _
 Public Function Mobile_ReturnDataset_New(ByVal UDID As String, ByVal DeviceID As String, ByVal Passkey As String, ByVal LastRev As String) As DataSet
        Try
         
              
                Dim dsDemoData As DataSet = New DataSet
                dsDemoData = GetDataset("exec pr_wsSelectMobileDemo '" & Passkey.Trim & "','" & UDID.Trim & "'")
                UpdateAuditLog(Passkey, UDID, LastRev, "Demo")
                Return dsDemoData
            

        Catch ex As Exception
            Dim ds As DataSet = New DataSet
            ds = ErrorMsg("System Error: " & Replace(Replace(ex.Message.ToString, "'", " "), Chr(39), " "))
            Return ds
        End Try


    End Function



This method is used by an iPhone app. The developers who are writing the iPhone app have asked me to implement G ZIP compression. I researched this and found some articles saying that you can set this up in IIS 6. So I went to IIS and did the following.

1. Right Click on "Web Sites"
2. Clicked "Properties"
3. Clicked "Services"
4. Under "HTTP Compression" I checked "Compress application files" and "Compress static files"

Then I pressed "Ok".

But this didn't seem to have any effect. The method returned the raw XML, no compression.

I restarted the IIS server and that didn't have any effect.

I rewrote the method to return a compressed Byte array, but the developers preferred that we do the compression at the server level.

Does anybody know what I'm doing wrong here?

Thanks In advance.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Compression II6

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap