If I have a Windows service running a NET.TCP WCF endpoint and one of it's Operation Contracts returns a MyData object. How will this object be represented on the client? Will it only have fields? Will it include it's properties and methods? What about static methods? Etc.
Example:
The service contract specify a GetUser() method that returns a User object. User has a firstName field and a lastName field. It also has a FullName property that returns the firstName concatenated with the lastName. It has a method called Match(string name) that takes a name and returns a percentage using some secret algorithm that tells you how much User is love compatible with a person of that name. Finally, it has a static field PerfectMatchCount that gets incremented every time a Match gets 100%.
The User class is defined on the Server, but is returned by the GetUser() operation contract of the WCF service. When I receive the User object on the client end, will I be able to use all of it's fields, properties, methods and static fields/methods? Is there any plumbing that I need to do if I want to be able to use all of this class features, or is this limitations of WCF and I'm restricted to only a subset of that class features (which one)?
Thank You