Click here to Skip to main content
       

C#

 
AnswerRe: Does backgroundWorker make code slower? PinprotectorPete O'Hanlon28-Jan-13 9:51 
GeneralRe: Does backgroundWorker make code slower? PinmemberMichCl29-Jan-13 2:19 
GeneralRe: Does backgroundWorker make code slower? PinmemberMichCl29-Jan-13 4:02 
GeneralRe: Does backgroundWorker make code slower? PinprotectorPete O'Hanlon29-Jan-13 4:12 
QuestionGroupPrincipalExt can not be used in a query against this store PinmemberJD8628-Jan-13 8:18 
AnswerRe: GroupPrincipalExt can not be used in a query against this store PinmemberRichard Deeming28-Jan-13 8:26 
GeneralRe: GroupPrincipalExt can not be used in a query against this store PinmemberJD8628-Jan-13 9:49 
QuestionCheck if polygon is Inside another Pinmembergilvani28-Jan-13 7:48 
AnswerRe: Check if polygon is Inside another [modified] Pinmemberpt140128-Jan-13 8:05 
GeneralRe: Check if polygon is Inside another Pinmembergilvani28-Jan-13 23:03 
AnswerRe: Check if polygon is Inside another PinmemberAlan Balkany29-Jan-13 4:12 
GeneralRe: Check if polygon is Inside another Pinmembergilvani29-Jan-13 4:16 
GeneralRe: Check if polygon is Inside another PinmemberAlan Balkany29-Jan-13 4:22 
QuestionProblems in retrieving HttpResponse content Pinmembertiwal28-Jan-13 4:16 
Hello ,
 
I am posting on the server side application using a "Response.Write(str)" statement, where "str" contains some XML code .
On the client side I am getting the response using a HttpWebResponse .
When I get the HttpWebResponse content , I find , apart from the correct XML code that I posted on server side, soem kind of strange trailer which resembles an Html page, but is absolutely random (I mean , this "html page" changes from session to session...) .
What is the reason of this strange result ? I am posting some relevant code below to help explain :
 
Server side :
Resp = ....some XML code ....
 
Response.Write(Resp);
 

Client side :
 

HttpWebRequest WR = (HttpWebRequest)(WebRequest.Create(url));
 
HttpWebResponse Resp = (HttpWebResponse)WR.GetResponse();
 
Stream RS = Resp.GetResponseStream();
 
StreamReader SR = new StreamReader(RS);
 
string mess = SR.ReadToEnd();
 
Resp.Close();
 
textBoxResponse.Text = mess;
 

Thank you in advance
 
Leo
AnswerRe: Problems in retrieving HttpResponse content PinmemberRichard Deeming28-Jan-13 5:06 
GeneralRe: Problems in retrieving HttpResponse content Pinmembertiwal28-Jan-13 23:02 
QuestionAbout method TextWriter.Write() Pinmembertaibc27-Jan-13 23:52 
AnswerRe: About method TextWriter.Write() PinmemberBobJanova28-Jan-13 0:34 
AnswerRe: About method TextWriter.Write() PinmvpRichard MacCutchan28-Jan-13 0:37 
GeneralRe: About method TextWriter.Write() PinmemberPIEBALDconsult28-Jan-13 3:28 
AnswerRe: About method TextWriter.Write() Pinmembertaibc28-Jan-13 14:51 
QuestionNotifyicon in C# website PinmemberNickyRamshaw27-Jan-13 21:48 
AnswerRe: Notifyicon in C# website PinmemberBobJanova28-Jan-13 0:35 
GeneralRe: Notifyicon in C# website PinmemberNickyRamshaw28-Jan-13 0:52 
GeneralRe: Notifyicon in C# website PinprotectorPete O'Hanlon28-Jan-13 1:00 
GeneralRe: Notifyicon in C# website PinmemberNickyRamshaw28-Jan-13 1:34 
GeneralRe: Notifyicon in C# website PinprotectorPete O'Hanlon28-Jan-13 1:43 
Questionfrom java to c# Pinmembersuperamh27-Jan-13 5:46 
AnswerRe: from java to c# PinmvpRichard MacCutchan27-Jan-13 6:27 
AnswerRe: from java to c# PinmemberDave Doknjas27-Jan-13 16:37 
QuestionC# timeout on linq to sql Pinmemberdcof27-Jan-13 2:52 
AnswerRe: C# timeout on linq to sql PinmvpDave Kreskowiak27-Jan-13 3:50 
AnswerRe: C# timeout on linq to sql Pinmemberjschell27-Jan-13 6:10 
AnswerRe: C# timeout on linq to sql PinmemberV.27-Jan-13 20:41 
Questionactivity-selection algorithm in c# Pinmembermazizi026-Jan-13 20:36 
AnswerRe: activity-selection algorithm in c# PinprotectorPete O'Hanlon26-Jan-13 21:16 
GeneralRe: activity-selection algorithm in c# Pinmembermazizi027-Jan-13 9:37 
GeneralRe: activity-selection algorithm in c# PinprotectorPete O'Hanlon27-Jan-13 9:50 
AnswerRe: activity-selection algorithm in c# PinmvpDave Kreskowiak27-Jan-13 3:46 
GeneralRe: activity-selection algorithm in c# Pinmembermazizi027-Jan-13 9:35 
GeneralRe: activity-selection algorithm in c# PinmvpDave Kreskowiak27-Jan-13 14:37 
AnswerRe: activity-selection algorithm in c# Pinmemberriced27-Jan-13 11:06 
GeneralRe: activity-selection algorithm in c# PinmemberPIEBALDconsult27-Jan-13 17:50 
AnswerRe: activity-selection algorithm in c# PinmemberJ4amieC28-Jan-13 0:44 
AnswerRe: activity-selection algorithm in c# Pinmemberpt140128-Jan-13 8:40 
QuestionC# access excel file Pinmemberdcof26-Jan-13 18:24 
SuggestionRe: C# access excel file PinmvpRichard MacCutchan27-Jan-13 0:15 
AnswerRe: C# access excel file PinmvpDave Kreskowiak27-Jan-13 3:44 
QuestionWCF receiving large XML PinmemberAlex Campos Vzla25-Jan-13 11:39 
AnswerRe: WCF receiving large XML PinmvpEddy Vluggen26-Jan-13 3:38 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.140922.1 | Last Updated 23 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid