Multiple WCF services referencing the same data contracts

前端 未结 6 1729
被撕碎了的回忆
被撕碎了的回忆 2020-12-31 03:18

I am building a set of WCF services that share common data contracts (or entities if you prefer). These are simple data transfer objects that are decorated with DataContract

6条回答
  •  Happy的楠姐
    2020-12-31 04:06

    I also tend to keep all my Data Contracts in one assembly which is referenced by multiple services and numerous client apps, which works great but I've never tried consuming the service outside of .NET.

    It might be helpful to know what technology they are using to consume the service other than .NET? What is throwing the ambigious reference message?

提交回复
热议问题