I'm working on a project that uses .Net Remoting to communicate with a Windows Service 'back end'. I really need to use Task<T>
and async features in the back-end service, so I want to target .NET 4.5
However, due to factors outside of my control, the 'front end' component must use .net 3.5, which precludes use of all the async language features.
This is a bit of a headache.
In .net Remoting, both ends of the connection must share a reference to the remoted classes, so they are generally in a shared class library and that has been my approach. I was wondering, if I build two versions of the 'shared' class library, one targeting CLR2 and the other targeting CLR4, will the remoting pattern still work? Or does the remote end have to use the exact same object?