locked
Exposing Server-side objects to Client, and vice versa RRS feed

  • Question

  • Hi guys,


    I am building a status dialog.  I have my RIA service speaking with another service that is doing some interesting work and building server-side status objects (say with an Id, Message, and MessageType members).  On my client I have another status object defined, and in my View Model I am copying members from the server object to the client object.  The copying is alright, but it would be preferable if my server side type was exposed to the client.  Is this possible ?


    Also, is it possible to have a client side object defined that my RIA service is aware of?  


    Thank you!


    Edit:  It looks like I can use shared code for this.


    Solution to my problem was found here http://msdn.microsoft.com/en-us/library/ee707371(v=VS.91).aspx

    Thursday, August 26, 2010 9:09 AM