[Mono-dev] Symmetric contracts in WCF

Peter Gerbrandt pg at viadux.de
Fri Mar 4 05:17:38 EST 2011


I want to use the same interface as service contract and as callback contract.
Currently this is not supported by mono while .NET supports it.

I've created some unit tests and made two changes to ContractDescriptionGenereation.cs to support symmetric contracts.

The unit tests are tested on mono and .NET and the changes seemed not to have caused any regressions.

I'm new to mono and git, so I hope my patches work for you.

The patches are against mono 2.10.1.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdtests.patch
Type: application/octet-stream
Size: 4393 bytes
Desc: cdtests.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110304/c98e2d41/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: symmetriccontracts.patch
Type: application/octet-stream
Size: 1384 bytes
Desc: symmetriccontracts.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110304/c98e2d41/attachment-0003.obj 

More information about the Mono-devel-list mailing list