Click here to Skip to main content
15,901,122 members
Home / Discussions / C#
   

C#

 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 12:11
protectorHeath Stewart8-Jan-04 12:11 
GeneralRe: Abstract, Interface, and Attribute Pin
bnieland8-Jan-04 6:50
bnieland8-Jan-04 6:50 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 7:46
TuringTest18-Jan-04 7:46 
GeneralQuoted-Printable Decoder Pin
7-Jan-04 18:33
suss7-Jan-04 18:33 
GeneralRe: Quoted-Printable Decoder Pin
Heath Stewart7-Jan-04 19:00
protectorHeath Stewart7-Jan-04 19:00 
GeneralRe: Quoted-Printable Decoder Pin
Blue Tender7-Jan-04 19:23
Blue Tender7-Jan-04 19:23 
GeneralRe: Quoted-Printable Decoder Pin
Heath Stewart8-Jan-04 3:57
protectorHeath Stewart8-Jan-04 3:57 
QuestionHow can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
sxbyl7-Jan-04 17:14
sxbyl7-Jan-04 17:14 
AnswerRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
Heath Stewart7-Jan-04 18:48
protectorHeath Stewart7-Jan-04 18:48 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
sxbyl7-Jan-04 19:00
sxbyl7-Jan-04 19:00 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
Heath Stewart7-Jan-04 19:03
protectorHeath Stewart7-Jan-04 19:03 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
sxbyl7-Jan-04 19:18
sxbyl7-Jan-04 19:18 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
Heath Stewart8-Jan-04 3:44
protectorHeath Stewart8-Jan-04 3:44 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
sxbyl8-Jan-04 14:06
sxbyl8-Jan-04 14:06 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
Heath Stewart8-Jan-04 16:44
protectorHeath Stewart8-Jan-04 16:44 
The other methods I mentioned will be much harder to use. Frankly, the serialized ILogicalThreadAffinative implementation doesn't have to take much room if you just encapsulate basic Types like a String or a Guid. The channel sinks could take even more bandwidth than a CallContext if you're not mindful of the implementation. Besides, setting and getting objects from a CallContext is a heck of a lot easier than dealing with channel sinks. Once you read about them (again, that ".NET Remoting" book is good and gets in to that), I'm sure you'll agree! Smile | :)

Oh, and if you use CallContext.FreeNamedDataSlot in the server method with the name you used in the CallContext.SetData call on the client, there shouldn't be anything serialized and sent back in the return message. This could save you bandwidth easily.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
sxbyl8-Jan-04 16:55
sxbyl8-Jan-04 16:55 
GeneralHttpWebRequest Pin
murali_utr7-Jan-04 17:04
murali_utr7-Jan-04 17:04 
GeneralRe: HttpWebRequest Pin
Heath Stewart7-Jan-04 18:41
protectorHeath Stewart7-Jan-04 18:41 
GeneralRe: HttpWebRequest Pin
murali_utr7-Jan-04 19:11
murali_utr7-Jan-04 19:11 
GeneralC# Forms/Controls Pin
Luther Baker7-Jan-04 14:24
Luther Baker7-Jan-04 14:24 
GeneralRe: C# Forms/Controls Pin
Heath Stewart7-Jan-04 18:38
protectorHeath Stewart7-Jan-04 18:38 
GeneralRe: C# Forms/Controls Pin
Luther Baker7-Jan-04 19:37
Luther Baker7-Jan-04 19:37 
GeneralRe: C# Forms/Controls Pin
David Stone7-Jan-04 20:31
sitebuilderDavid Stone7-Jan-04 20:31 
GeneralRe: C# Forms/Controls Pin
Luther Baker7-Jan-04 20:28
Luther Baker7-Jan-04 20:28 
GeneralRe: C# Forms/Controls Pin
Heath Stewart8-Jan-04 4:18
protectorHeath Stewart8-Jan-04 4:18 

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.