[Mono-dev] suggestion to fix remoting behavior

Andrey Chernomyrdin chernomyrdin+mono-devel-list at gmail.com
Thu Dec 15 03:24:37 EST 2011


Have a nice day,

I try to run my C# application in mono and have some problem with remoting.
After small experiment I make some fixes in mono runtime.

patch #1 (patch.logical-call-context.diff, link:
https://gist.github.com/1480258 )
Fixed: returning LogicalCallContext to client.
Mono always returns the empty LogicalCallContext without patch.
The new behavior is similar to .NET Framework.

patch #2 (patch.return-value.diff, link: https://gist.github.com/1480249 )
Fixed: Possibility of handling results of method execution in
IDynamicMessageSink.ProcessMessageFinish() (such as return value, out
parameter, exception).
Mono passes the same message to ProcessMessageStart() and
ProcessMessageFinish() without patch.
The new behavior is similar to .NET Framework.

After this patches my program run sucessfuly.

-- 
Andrey Chernomyrin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111215/e825fc42/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.logical-call-context.diff
Type: text/x-patch
Size: 637 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111215/e825fc42/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.return-value.diff
Type: text/x-patch
Size: 3067 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111215/e825fc42/attachment-0001.bin 


More information about the Mono-devel-list mailing list