How to share objects across processes in .Net?

前端 未结 3 487
故里飘歌
故里飘歌 2020-12-18 12:05

I\'m trying to \"share\" .net objects across separate processes. I have one type of process that\'s a web service that manipulates a set of domain entities. Another type of

3条回答
  •  自闭症患者
    2020-12-18 12:53

    You're going to need to decide which of your two services, or possibly a third, as of yet unwritten service, is your authoritative source for your domain objects.

    A remoting or WCF-based set of services exposed by the authoritative source should provide the central location for your object graphs. However, I think you are running into simply creating a distributed cache for your objects.

    Have you considered the Velocity Project?

提交回复
热议问题