Click here to Skip to main content
15,906,626 members
Home / Discussions / C#
   

C#

 
AnswerRe: I have Dundas Gauge for .NET Version 1.6 [for Visual Studio 2005 ] can I use it with .NET 2003 Pin
Judah Gabriel Himango18-Apr-06 7:14
sponsorJudah Gabriel Himango18-Apr-06 7:14 
AnswerRe: I have Dundas Gauge for .NET Version 1.6 [for Visual Studio 2005 ] can I use it with .NET 2003 Pin
Troy Marchand19-Apr-06 4:00
sitebuilderTroy Marchand19-Apr-06 4:00 
QuestionWin32 dll conversion Pin
t4ure4n18-Apr-06 6:50
t4ure4n18-Apr-06 6:50 
AnswerRe: Win32 dll conversion Pin
Judah Gabriel Himango18-Apr-06 7:16
sponsorJudah Gabriel Himango18-Apr-06 7:16 
QuestionInheritance problem Pin
sharpone18-Apr-06 6:33
sharpone18-Apr-06 6:33 
AnswerRe: Inheritance problem Pin
Le centriste18-Apr-06 6:41
Le centriste18-Apr-06 6:41 
AnswerRe: Inheritance problem Pin
Ricardo Mendes18-Apr-06 6:42
Ricardo Mendes18-Apr-06 6:42 
QuestionWeb service request does not reach IIS Pin
Ricardo Mendes18-Apr-06 6:22
Ricardo Mendes18-Apr-06 6:22 
I'm writing a Windows Forms application which gets data through a Web
Service. I'm trying to use the IIS HTTP 1.1 native compression. In order to
do that I've added the following methods to the proxy class generated by
Visual Studio:

protected override WebRequest GetWebRequest(Uri uri)<br />
{<br />
    WebRequest request = base.GetWebRequest(uri);<br />
    request.Headers.Add("Accept-Encoding", "gzip, deflate");<br />
    return request;<br />
}<br />
<br />
protected override WebResponse GetWebResponse(WebRequest request)<br />
{<br />
    HttpWebResponseDecompressed response = new HttpWebResponseDecompressed(request);<br />
    return response;<br />
}


The HttpWebResponseDecompressed class receives the compressed response and
decompress it. This is what is happening: if I remove the second line from
the GetWebRequest method (which adds the header), all the 9 requisitions that
I make on the program's initialization have answer. But when the header is
added, only the first 4 requisitions receive answer (the answer is correctly
compressed).

I've enabled the ASP.NET trace (which generates the trace.axd page) so that
I could see the requests received by IIS and the last 5 do not appear. If I
put a breakpoint in the GetWebRequest method, the breakpoint is hit but they
do not reach IIS.

Can anyone tell me what is happening or what can I do?

Thanks
QuestionDynamically loadning Menu Items Pin
sjpjs18-Apr-06 5:52
sjpjs18-Apr-06 5:52 
AnswerRe: Dynamically loadning Menu Items Pin
Robert Rohde18-Apr-06 6:03
Robert Rohde18-Apr-06 6:03 
GeneralRe: Dynamically loadning Menu Items Pin
sjpjs18-Apr-06 7:01
sjpjs18-Apr-06 7:01 
AnswerRe: Dynamically loadning Menu Items Pin
LongRange.Shooter18-Apr-06 10:12
LongRange.Shooter18-Apr-06 10:12 
AnswerRe: Dynamically loadning Menu Items Pin
vatzcar18-Apr-06 18:17
vatzcar18-Apr-06 18:17 
QuestionRe: Dynamically loadning Menu Items Pin
sjpjs18-Apr-06 23:09
sjpjs18-Apr-06 23:09 
AnswerRe: Dynamically loadning Menu Items Pin
vatzcar19-Apr-06 0:26
vatzcar19-Apr-06 0:26 
QuestionWebservice Pin
dj_jay_smith18-Apr-06 4:48
dj_jay_smith18-Apr-06 4:48 
QuestionWebservice Pin
dj_jay_smith18-Apr-06 4:48
dj_jay_smith18-Apr-06 4:48 
QuestionnsWebservice Pin
dj_jay_smith18-Apr-06 4:47
dj_jay_smith18-Apr-06 4:47 
AnswerRe: nsWebservice Pin
J4amieC18-Apr-06 5:07
J4amieC18-Apr-06 5:07 
GeneralRe: nsWebservice Pin
dj_jay_smith18-Apr-06 21:11
dj_jay_smith18-Apr-06 21:11 
QuestionC# and XML Question Pin
seschu0118-Apr-06 4:35
seschu0118-Apr-06 4:35 
AnswerRe: C# and XML Question Pin
Robert Rohde18-Apr-06 5:33
Robert Rohde18-Apr-06 5:33 
AnswerRe: C# and XML Question Pin
LongRange.Shooter18-Apr-06 10:20
LongRange.Shooter18-Apr-06 10:20 
Questionpassing array byval versus byref Pin
bnathvbdotnet18-Apr-06 4:08
bnathvbdotnet18-Apr-06 4:08 
AnswerRe: passing array byval versus byref Pin
Judah Gabriel Himango18-Apr-06 4:50
sponsorJudah Gabriel Himango18-Apr-06 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.