Click here to Skip to main content
       

C#

 
AnswerRe: Does backgroundWorker make code slower? PinprotectorPete O'Hanlon28-Jan-13 10:51 
GeneralRe: Does backgroundWorker make code slower? PinmemberMichCl29-Jan-13 3:19 
GeneralRe: Does backgroundWorker make code slower? PinmemberMichCl29-Jan-13 5:02 
GeneralRe: Does backgroundWorker make code slower? PinprotectorPete O'Hanlon29-Jan-13 5:12 
QuestionGroupPrincipalExt can not be used in a query against this store PinmemberJD8628-Jan-13 9:18 
AnswerRe: GroupPrincipalExt can not be used in a query against this store PinmemberRichard Deeming28-Jan-13 9:26 
GeneralRe: GroupPrincipalExt can not be used in a query against this store PinmemberJD8628-Jan-13 10:49 
QuestionCheck if polygon is Inside another Pinmembergilvani28-Jan-13 8:48 
AnswerRe: Check if polygon is Inside another [modified] Pinmemberpt140128-Jan-13 9:05 
GeneralRe: Check if polygon is Inside another Pinmembergilvani29-Jan-13 0:03 
AnswerRe: Check if polygon is Inside another PinmemberAlan Balkany29-Jan-13 5:12 
GeneralRe: Check if polygon is Inside another Pinmembergilvani29-Jan-13 5:16 
GeneralRe: Check if polygon is Inside another PinmemberAlan Balkany29-Jan-13 5:22 
QuestionProblems in retrieving HttpResponse content Pinmembertiwal28-Jan-13 5: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 6:06 
GeneralRe: Problems in retrieving HttpResponse content Pinmembertiwal29-Jan-13 0:02 
QuestionAbout method TextWriter.Write() Pinmembertaibc28-Jan-13 0:52 
AnswerRe: About method TextWriter.Write() PinmemberBobJanova28-Jan-13 1:34 
AnswerRe: About method TextWriter.Write() PinmvpRichard MacCutchan28-Jan-13 1:37 
GeneralRe: About method TextWriter.Write() PinmemberPIEBALDconsult28-Jan-13 4:28 
AnswerRe: About method TextWriter.Write() Pinmembertaibc28-Jan-13 15:51 
QuestionNotifyicon in C# website PinmemberNickyRamshaw27-Jan-13 22:48 
AnswerRe: Notifyicon in C# website PinmemberBobJanova28-Jan-13 1:35 
GeneralRe: Notifyicon in C# website PinmemberNickyRamshaw28-Jan-13 1:52 
GeneralRe: Notifyicon in C# website PinprotectorPete O'Hanlon28-Jan-13 2:00 
GeneralRe: Notifyicon in C# website PinmemberNickyRamshaw28-Jan-13 2:34 
GeneralRe: Notifyicon in C# website PinprotectorPete O'Hanlon28-Jan-13 2:43 
Questionfrom java to c# Pinmembersuperamh27-Jan-13 6:46 
AnswerRe: from java to c# PinmvpRichard MacCutchan27-Jan-13 7:27 
AnswerRe: from java to c# PinmemberDave Doknjas27-Jan-13 17:37 
QuestionC# timeout on linq to sql Pinmemberdcof27-Jan-13 3:52 
AnswerRe: C# timeout on linq to sql PinmvpDave Kreskowiak27-Jan-13 4:50 
AnswerRe: C# timeout on linq to sql Pinmemberjschell27-Jan-13 7:10 
AnswerRe: C# timeout on linq to sql PinmemberV.27-Jan-13 21:41 
Questionactivity-selection algorithm in c# Pinmembermazizi026-Jan-13 21:36 
AnswerRe: activity-selection algorithm in c# PinprotectorPete O'Hanlon26-Jan-13 22:16 
GeneralRe: activity-selection algorithm in c# Pinmembermazizi027-Jan-13 10:37 
GeneralRe: activity-selection algorithm in c# PinprotectorPete O'Hanlon27-Jan-13 10:50 
AnswerRe: activity-selection algorithm in c# PinmvpDave Kreskowiak27-Jan-13 4:46 
GeneralRe: activity-selection algorithm in c# Pinmembermazizi027-Jan-13 10:35 
GeneralRe: activity-selection algorithm in c# PinmvpDave Kreskowiak27-Jan-13 15:37 
AnswerRe: activity-selection algorithm in c# Pinmemberriced27-Jan-13 12:06 
GeneralRe: activity-selection algorithm in c# PinmemberPIEBALDconsult27-Jan-13 18:50 
AnswerRe: activity-selection algorithm in c# PinmemberJ4amieC28-Jan-13 1:44 
AnswerRe: activity-selection algorithm in c# Pinmemberpt140128-Jan-13 9:40 
QuestionC# access excel file Pinmemberdcof26-Jan-13 19:24 
SuggestionRe: C# access excel file PinmvpRichard MacCutchan27-Jan-13 1:15 
AnswerRe: C# access excel file PinmvpDave Kreskowiak27-Jan-13 4:44 
QuestionWCF receiving large XML PinmemberAlex Campos Vzla25-Jan-13 12:39 
AnswerRe: WCF receiving large XML PinmvpEddy Vluggen26-Jan-13 4: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.141216.1 | Last Updated 18 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid