Joseph Bulger IV

Using Contract By Design over the wire and a possible solution

by Joseph on Apr.29, 2010, under Programming

I’ve been plagued with an issue that I have yet to find a solution for.

This is really more for my benefit so I can research this later, but basically when I create classes I tend to decouple them by using interfaces, especially between layers.

The problem is when you use a service layer, such as WCF, that the class that is generated on the client side doesn’t carry the implementations that the server side class has. 

Then I found this article which might be my saving grace.  It lefts you actually reference the same class on the client side.  This might be solution I’m looking for.

Once I get a chance to test this out I’ll post the results with some code.

:

Leave a Reply

  • Link with me

    Joseph Bulger
  • Call me

  • What I'm Doing...

    • Gmail Priority Inbox.... FINALLY, applying the spam heuristics engine (with a splash of user voting) to my inbox. email isn't so bad anymore 2 days ago
    • my wife just informed me that today is 90210.... 2 days ago
    • Today has been answered prayer after answered prayer. Thank you Jesus. 2 weeks ago
    • More updates...

    Powered by Twitter Tools

  • Looking for something?

    Use the form below to search the site:

    Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

    Visit our friends!

    A few highly recommended friends...

    Archives

    All entries, chronologically...