Sharing types between WCF services and their .net clients
While I know that this can be done, I somehow feel there is something fundamentally wrong in the design when you feel the need to use an assembly on the service and use the same on the .net client.
I needed to do this because I have a data contract that will be used in two different services. When both those services are referenced on the same client they will result in the same data type being available in two different namespaces. That to me looked like it will create problem of ambiguity when being used by the client, or at the very least look redundant. Plus, if I am sharing types like this doesnt it defeat the purpose of having a service?
What are your thoughts on sharing types between the service and the client like this? Does it sound like bad design that will lead to some other unforeseen problems later on? ...or just unusual design in general!