Click here to Skip to main content
15,905,325 members
Home / Discussions / C#
   

C#

 
AnswerRe: Try...Catch block Pin
Gideon Engelberth26-Nov-08 7:33
Gideon Engelberth26-Nov-08 7:33 
AnswerRe: Try...Catch block Pin
Paul Conrad26-Nov-08 9:23
professionalPaul Conrad26-Nov-08 9:23 
GeneralRe: Try...Catch block [modified] Pin
Luc Pattyn26-Nov-08 10:31
sitebuilderLuc Pattyn26-Nov-08 10:31 
QuestionSearching for URL's in... Pin
jas0n2326-Nov-08 6:19
jas0n2326-Nov-08 6:19 
AnswerRe: Searching for URL's in... Pin
Christian Graus26-Nov-08 7:44
protectorChristian Graus26-Nov-08 7:44 
QuestionRe: Searching for URL's in... Pin
jas0n2326-Nov-08 16:32
jas0n2326-Nov-08 16:32 
QuestionLinq - Inserting into IDENTITY column. Pin
Exception Duck26-Nov-08 5:52
Exception Duck26-Nov-08 5:52 
QuestionHTTPContext for Remote object. (i didn't find Remoting forum) Pin
Member 232448326-Nov-08 5:47
Member 232448326-Nov-08 5:47 
Hello all, (sorry if it is lay-man question)

here is my scenario:

1. Windows client in one machine, Remote object is hosted in IIS in different machine.

I need to pass context information (say, user identity) to remote object from client. I can achieve this from CallContext object but ThreadPool management of IIS sometimes not migrating the callcontext information in thread swapping scenario (from threadpool), so, the information is lost. (if have time read this article http://piers7.blogspot.com/2005/11/threadstatic-callcontext-and_02.html)

I decided to use HTTPContext object, which will be passed across different threads properly. I am planning to store the identity info to HTTPContext object at client and retrieve it from server.

a. In this scenario how can i make use of httpContext object?
b. is that at all possible or make sense to use HTTPContext in this scenario?
c. do we need to have only web client to make use of httpContext object?

(Am using HTTChannel for remote sinks)

Appreciate any inputs.

Thanks.
QuestionConfigurationSettings Pin
madhu.nzd26-Nov-08 4:21
madhu.nzd26-Nov-08 4:21 
QuestionAssertions Pin
CodingYoshi26-Nov-08 4:05
CodingYoshi26-Nov-08 4:05 
AnswerRe: Assertions Pin
User 665826-Nov-08 5:32
User 665826-Nov-08 5:32 
Questionneed help translating one certain line of code from c++ to c# Pin
mSh198526-Nov-08 3:24
mSh198526-Nov-08 3:24 
AnswerRe: need help translating one certain line of code from c++ to c# Pin
HosamAly26-Nov-08 3:39
HosamAly26-Nov-08 3:39 
GeneralRe: need help translating one certain line of code from c++ to c# Pin
mSh198526-Nov-08 4:10
mSh198526-Nov-08 4:10 
GeneralRe: need help translating one certain line of code from c++ to c# Pin
HosamAly26-Nov-08 4:18
HosamAly26-Nov-08 4:18 
Questionclass or struct Pin
Harvey Saayman26-Nov-08 2:46
Harvey Saayman26-Nov-08 2:46 
AnswerRe: class or struct Pin
Thomas Weller26-Nov-08 3:06
Thomas Weller26-Nov-08 3:06 
AnswerRe: class or struct Pin
Jan Sommer26-Nov-08 3:09
Jan Sommer26-Nov-08 3:09 
GeneralRe: class or struct Pin
Thomas Weller26-Nov-08 4:15
Thomas Weller26-Nov-08 4:15 
GeneralRe: class or struct Pin
Jan Sommer26-Nov-08 4:31
Jan Sommer26-Nov-08 4:31 
GeneralRe: class or struct Pin
Thomas Weller26-Nov-08 4:53
Thomas Weller26-Nov-08 4:53 
AnswerRe: class or struct Pin
Alan Balkany26-Nov-08 3:44
Alan Balkany26-Nov-08 3:44 
GeneralRe: class or struct Pin
Guffa26-Nov-08 4:14
Guffa26-Nov-08 4:14 
AnswerRe: class or struct Pin
Guffa26-Nov-08 3:51
Guffa26-Nov-08 3:51 
AnswerRe: class or struct Pin
PIEBALDconsult26-Nov-08 7:35
mvePIEBALDconsult26-Nov-08 7:35 

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.