How do I centralize common code in silverlight with a classical Client/Server design?

Posted by user213722 on Stack Overflow See other posts from Stack Overflow or by user213722
Published on 2010-06-08T08:12:22Z Indexed on 2010/06/08 8:22 UTC
Read the original article Hit count: 147

Filed under:
|
|

The setting:

I got a silverlight application and a webservice both want to use the same code.

Here my problem:

  • If make an normal dll the silverlight Application say's it can not reference it.
  • If I make an Silverlight dll the Webservice can not reference it.

I don't like duplicate code how can I share code between my Silverlight app and my webservice?

© Stack Overflow or respective owner

Related posts about c#

Related posts about silverlight-4.0