Click here to Skip to main content
12,360,037 members (60,321 online)
   

C#

 
AnswerRe: Does backgroundWorker make code slower? Pin
Pete O'Hanlon28-Jan-13 9:51
protectorPete O'Hanlon28-Jan-13 9:51 
GeneralRe: Does backgroundWorker make code slower? Pin
MichCl29-Jan-13 2:19
memberMichCl29-Jan-13 2:19 
GeneralRe: Does backgroundWorker make code slower? Pin
MichCl29-Jan-13 4:02
memberMichCl29-Jan-13 4:02 
GeneralRe: Does backgroundWorker make code slower? Pin
Pete O'Hanlon29-Jan-13 4:12
protectorPete O'Hanlon29-Jan-13 4:12 
QuestionGroupPrincipalExt can not be used in a query against this store Pin
JD8628-Jan-13 8:18
memberJD8628-Jan-13 8:18 
AnswerRe: GroupPrincipalExt can not be used in a query against this store Pin
Richard Deeming28-Jan-13 8:26
memberRichard Deeming28-Jan-13 8:26 
GeneralRe: GroupPrincipalExt can not be used in a query against this store Pin
JD8628-Jan-13 9:49
memberJD8628-Jan-13 9:49 
QuestionCheck if polygon is Inside another Pin
gilvani28-Jan-13 7:48
membergilvani28-Jan-13 7:48 
AnswerRe: Check if polygon is Inside another Pin
pt140128-Jan-13 8:05
memberpt140128-Jan-13 8:05 
GeneralRe: Check if polygon is Inside another Pin
gilvani28-Jan-13 23:03
membergilvani28-Jan-13 23:03 
AnswerRe: Check if polygon is Inside another Pin
Alan Balkany29-Jan-13 4:12
memberAlan Balkany29-Jan-13 4:12 
GeneralRe: Check if polygon is Inside another Pin
gilvani29-Jan-13 4:16
membergilvani29-Jan-13 4:16 
GeneralRe: Check if polygon is Inside another Pin
Alan Balkany29-Jan-13 4:22
memberAlan Balkany29-Jan-13 4:22 
QuestionProblems in retrieving HttpResponse content Pin
tiwal28-Jan-13 4:16
membertiwal28-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 Pin
Richard Deeming28-Jan-13 5:06
memberRichard Deeming28-Jan-13 5:06 
GeneralRe: Problems in retrieving HttpResponse content Pin
tiwal28-Jan-13 23:02
membertiwal28-Jan-13 23:02 
QuestionAbout method TextWriter.Write() Pin
taibc27-Jan-13 23:52
membertaibc27-Jan-13 23:52 
AnswerRe: About method TextWriter.Write() Pin
BobJanova28-Jan-13 0:34
memberBobJanova28-Jan-13 0:34 
AnswerRe: About method TextWriter.Write() Pin
Richard MacCutchan28-Jan-13 0:37
mvpRichard MacCutchan28-Jan-13 0:37 
GeneralRe: About method TextWriter.Write() Pin
PIEBALDconsult28-Jan-13 3:28
memberPIEBALDconsult28-Jan-13 3:28 
AnswerRe: About method TextWriter.Write() Pin
taibc28-Jan-13 14:51
membertaibc28-Jan-13 14:51 
QuestionNotifyicon in C# website Pin
NickyRamshaw27-Jan-13 21:48
memberNickyRamshaw27-Jan-13 21:48 
AnswerRe: Notifyicon in C# website Pin
BobJanova28-Jan-13 0:35
memberBobJanova28-Jan-13 0:35 
GeneralRe: Notifyicon in C# website Pin
NickyRamshaw28-Jan-13 0:52
memberNickyRamshaw28-Jan-13 0:52 
GeneralRe: Notifyicon in C# website Pin
Pete O'Hanlon28-Jan-13 1:00
protectorPete O'Hanlon28-Jan-13 1:00 
GeneralRe: Notifyicon in C# website Pin
NickyRamshaw28-Jan-13 1:34
memberNickyRamshaw28-Jan-13 1:34 
GeneralRe: Notifyicon in C# website Pin
Pete O'Hanlon28-Jan-13 1:43
protectorPete O'Hanlon28-Jan-13 1:43 
Questionfrom java to c# Pin
superamh27-Jan-13 5:46
membersuperamh27-Jan-13 5:46 
AnswerRe: from java to c# Pin
Richard MacCutchan27-Jan-13 6:27
mvpRichard MacCutchan27-Jan-13 6:27 
AnswerRe: from java to c# Pin
Dave Doknjas27-Jan-13 16:37
memberDave Doknjas27-Jan-13 16:37 
QuestionC# timeout on linq to sql Pin
dcof27-Jan-13 2:52
memberdcof27-Jan-13 2:52 
AnswerRe: C# timeout on linq to sql Pin
Dave Kreskowiak27-Jan-13 3:50
mvpDave Kreskowiak27-Jan-13 3:50 
AnswerRe: C# timeout on linq to sql Pin
jschell27-Jan-13 6:10
memberjschell27-Jan-13 6:10 
AnswerRe: C# timeout on linq to sql Pin
V.27-Jan-13 20:41
memberV.27-Jan-13 20:41 
Questionactivity-selection algorithm in c# Pin
mazizi026-Jan-13 20:36
membermazizi026-Jan-13 20:36 
AnswerRe: activity-selection algorithm in c# Pin
Pete O'Hanlon26-Jan-13 21:16
protectorPete O'Hanlon26-Jan-13 21:16 
GeneralRe: activity-selection algorithm in c# Pin
mazizi027-Jan-13 9:37
membermazizi027-Jan-13 9:37 
GeneralRe: activity-selection algorithm in c# Pin
Pete O'Hanlon27-Jan-13 9:50
protectorPete O'Hanlon27-Jan-13 9:50 
AnswerRe: activity-selection algorithm in c# Pin
Dave Kreskowiak27-Jan-13 3:46
mvpDave Kreskowiak27-Jan-13 3:46 
GeneralRe: activity-selection algorithm in c# Pin
mazizi027-Jan-13 9:35
membermazizi027-Jan-13 9:35 
GeneralRe: activity-selection algorithm in c# Pin
Dave Kreskowiak27-Jan-13 14:37
mvpDave Kreskowiak27-Jan-13 14:37 
AnswerRe: activity-selection algorithm in c# Pin
riced27-Jan-13 11:06
memberriced27-Jan-13 11:06 
GeneralRe: activity-selection algorithm in c# Pin
PIEBALDconsult27-Jan-13 17:50
memberPIEBALDconsult27-Jan-13 17:50 
AnswerRe: activity-selection algorithm in c# Pin
J4amieC28-Jan-13 0:44
memberJ4amieC28-Jan-13 0:44 
AnswerRe: activity-selection algorithm in c# Pin
pt140128-Jan-13 8:40
memberpt140128-Jan-13 8:40 
QuestionC# access excel file Pin
dcof26-Jan-13 18:24
memberdcof26-Jan-13 18:24 
SuggestionRe: C# access excel file Pin
Richard MacCutchan27-Jan-13 0:15
mvpRichard MacCutchan27-Jan-13 0:15 
AnswerRe: C# access excel file Pin
Dave Kreskowiak27-Jan-13 3:44
mvpDave Kreskowiak27-Jan-13 3:44 
QuestionWCF receiving large XML Pin
Alex Campos Vzla25-Jan-13 11:39
memberAlex Campos Vzla25-Jan-13 11:39 
AnswerRe: WCF receiving large XML Pin
Eddy Vluggen26-Jan-13 3:38
mvpEddy Vluggen26-Jan-13 3:38 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 1 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid