Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
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-----
GeneralRe: .Net Remoting store serialization file Pin
krisp24-Jan-04 13:36
krisp24-Jan-04 13:36 
GeneralRe: .Net Remoting store serialization file Pin
Heath Stewart23-Jan-04 18:24
protectorHeath Stewart23-Jan-04 18:24 
GeneralC# Web Services Pin
Chris Meech23-Jan-04 9:02
Chris Meech23-Jan-04 9:02 
GeneralRe: C# Web Services Pin
Guillermo Rivero23-Jan-04 9:08
Guillermo Rivero23-Jan-04 9:08 
GeneralRe: C# Web Services Pin
Chris Meech23-Jan-04 9:21
Chris Meech23-Jan-04 9:21 
GeneralRe: C# Web Services Pin
Guillermo Rivero23-Jan-04 9:25
Guillermo Rivero23-Jan-04 9:25 
GeneralRe: C# Web Services Pin
Heath Stewart23-Jan-04 9:53
protectorHeath Stewart23-Jan-04 9:53 
GeneralRe: C# Web Services Pin
Chris Meech23-Jan-04 10:07
Chris Meech23-Jan-04 10:07 
GeneralRe: C# Web Services Pin
Guillermo Rivero23-Jan-04 10:09
Guillermo Rivero23-Jan-04 10:09 
GeneralRe: C# Web Services Pin
Chris Meech26-Jan-04 3:45
Chris Meech26-Jan-04 3:45 
GeneralRe: C# Web Services Pin
Heath Stewart26-Jan-04 3:48
protectorHeath Stewart26-Jan-04 3:48 
GeneralRe: C# Web Services Pin
Daniel Turini24-Jan-04 10:03
Daniel Turini24-Jan-04 10:03 
GeneralRe: C# Web Services Pin
Chris Meech26-Jan-04 3:40
Chris Meech26-Jan-04 3:40 
GeneralRe: C# Web Services Pin
Daniel Turini26-Jan-04 3:45
Daniel Turini26-Jan-04 3:45 
GeneralRe: C# Web Services Pin
Chris Meech26-Jan-04 3:56
Chris Meech26-Jan-04 3:56 
GeneralRe: C# Web Services Pin
Daniel Turini26-Jan-04 4:23
Daniel Turini26-Jan-04 4:23 
GeneralRe: C# Web Services Pin
Chris Meech26-Jan-04 4:44
Chris Meech26-Jan-04 4:44 

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.