Click here to Skip to main content
15,902,275 members
Home / Discussions / C#
   

C#

 
GeneralRe: RichTextBox question.. Pin
Mazdak24-Jan-04 10:10
Mazdak24-Jan-04 10:10 
GeneralRe: RichTextBox question.. Pin
Nick Parker25-Jan-04 5:45
protectorNick Parker25-Jan-04 5:45 
GeneralRe: RichTextBox question.. Pin
Fredrik7925-Jan-04 5:58
Fredrik7925-Jan-04 5:58 
GeneralRe: RichTextBox question.. Pin
Nick Parker25-Jan-04 7:41
protectorNick Parker25-Jan-04 7:41 
Generalchecking dynamically which control is clicked Pin
Inam24-Jan-04 6:41
Inam24-Jan-04 6:41 
GeneralRe: checking dynamically which control is clicked Pin
Alex Korchemniy24-Jan-04 6:56
Alex Korchemniy24-Jan-04 6:56 
GeneralRe: checking dynamically which control is clicked Pin
Dmitriy Kostovetskiy24-Jan-04 13:32
Dmitriy Kostovetskiy24-Jan-04 13:32 
GeneralIgnore Keyboard And mouse input Pin
SherKar24-Jan-04 2:31
SherKar24-Jan-04 2:31 
GeneralRe: Ignore Keyboard And mouse input Pin
Mazdak24-Jan-04 3:09
Mazdak24-Jan-04 3:09 
GeneralTrouble extracting objects from HashTable Pin
Peter Mills24-Jan-04 1:51
Peter Mills24-Jan-04 1:51 
GeneralRe: Trouble extracting objects from HashTable Pin
Colin Angus Mackay24-Jan-04 4:11
Colin Angus Mackay24-Jan-04 4:11 
GeneralRe: Trouble extracting objects from HashTable Pin
Peter Mills24-Jan-04 4:48
Peter Mills24-Jan-04 4:48 
GeneralAdding scaner funtionality to C# application Pin
Chathura23-Jan-04 12:34
Chathura23-Jan-04 12:34 
GeneralRe: Adding scaner funtionality to C# application Pin
Heath Stewart23-Jan-04 18:02
protectorHeath Stewart23-Jan-04 18:02 
GeneralRe: Adding scaner funtionality to C# application Pin
cjengler24-Jan-04 2:25
cjengler24-Jan-04 2:25 
QuestionWhat is a cheap compiler for C#. Pin
Snyp23-Jan-04 12:10
Snyp23-Jan-04 12:10 
AnswerRe: What is a cheap compiler for C#. Pin
Colin Angus Mackay23-Jan-04 12:44
Colin Angus Mackay23-Jan-04 12:44 
AnswerRe: What is a cheap compiler for C#. Pin
Guillermo Rivero23-Jan-04 17:35
Guillermo Rivero23-Jan-04 17:35 
AnswerRe: What is a cheap compiler for C#. Pin
Heath Stewart23-Jan-04 18:00
protectorHeath Stewart23-Jan-04 18:00 
GeneralRe: What is a cheap compiler for C#. Pin
OmegaSupreme25-Jan-04 3:38
OmegaSupreme25-Jan-04 3:38 
AnswerRe: What is a cheap compiler for C#. Pin
extremeg24-Jan-04 3:06
extremeg24-Jan-04 3:06 
General.Net Remoting store serialization file Pin
krisp23-Jan-04 11:23
krisp23-Jan-04 11:23 
GeneralRe: .Net Remoting store serialization file Pin
Heath Stewart23-Jan-04 18:22
protectorHeath Stewart23-Jan-04 18:22 
GeneralRe: .Net Remoting store serialization file Pin
krisp23-Jan-04 19:06
krisp23-Jan-04 19:06 
GeneralRe: .Net Remoting store serialization file Pin
Heath Stewart23-Jan-04 19:14
protectorHeath Stewart23-Jan-04 19:14 
Everything in this case (if I understand your problem correctly) happens on the server. The client would be none-the-wiser what's going on at the server (as is typically the case anyway). The Remoting server is configured to use a derivative SoapServerFormatterSink - the sink in the chain that actually performs the serialization. This formatter sink merely saves the SOAP that represents the object to the database, and retrieves the SOAP from the database to send back to the client, so no serialization is actually performed.

The implementation depends upon many things. For example, you could use a get and set method (don't use a property, though, because you'll incur an additional round trip to get the accessor). The client passes an object to the set method that gets serialized. It goes to the server in the form of an IMethodCallMessage which you store the parameter in the database. For an IMethodReturnMessage you get the stream from the database (for instance, using a TextReader) and pass that back to the client.

I hope this explains the concept a little better. As I mentioned the first time, this isn't necessarily an easy thing. It's just something you're going to have to try. It should work based on what I know and my experiences with .NET Remoting.

 

-----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-----

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.