I am looking for a solution to the following problem.
I have a WCF service hosted in a 4.0 framework using the netpipe binding. Now I want to consume this service in WCF 3.5 client library. This WCF 3.5 client library will be used the other 3.5 project. I have gone through many solutions through google, but couldnt find a matching one.
I have to create the runtime proxy i.e., implementing ClientBase<T> or using ChannelFactory<T>, for these two I need reference of the service contract assembly. (correct me if I am wrong). but if i add reference, the compilation error says a backward compatibility error from 4.0 to 3.5.
Service Contract ---> Hosting <------> Client Proxy ----> Client Project
(4.0) (.dll) (4.0)(.exe) (3.5) (.dll)
Could some one refer me some links or provide me a sample code regarding this problem. This help is appreciable and thanks in advance.