Could someone please let me know what is needed in order to be able to create objects which were defined on the server side of WCF, in the client code.
So, basically, if I have an object "Reservation", in WCF (let's say it is hosted on a website's App_Code folder), I would want the calling code (let's say an ASPX page which is NOT in the same website) to be able to do:
Dim reservation as new RestaurantService.Reservation() ' This object is defined on the server, but I would like it to be available to me for declaration on the client side, just as methods of the service contract are.
reservation.FirstName = "John"
reservation.LastName = "Smith"
This would be so much nicer than having to do:
RestaurantService.CreateNewReservation("john", "smith",... )