c# - Is it possible to share Objects between applications without serialization? -


is possible share objects between c# applications without serialization?

i need 3 apps share instance of same object, object doesn't support serialization.

the scope is: i'm developing apps create kind of interoperability between svn , tfs repositories. don't want connect tfs server on 3 apps (useless time consuming) since 1 of them set of small utilities, , don't want have slow loading.

so thinking of using remotingservices.marshal, registering connection object temporarily in tcp channel, , calling object whenever need in other apps.

but here's thing. many objects in teamfoundation.client aren't serializable, error when trying retrieve object.

how can solve ?

the direct alternative serialization remoting, also requires changes types, isn't going work.

rather trying serialize tfs objects, write object model resembles tfs objects (or better: requests etc want perform), , send that. reconstruct needed. shallow dto layer on top of actual objects.

obviously you'll need reconstruct tfs model needed (based on dto state), life.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -