Best practice for large WCF service?

前端 未结 5 1107
时光说笑
时光说笑 2021-01-29 21:52

What is the best practice for writing a rather large wcf service, containing a lot of OperationContracts and DataContracts?

How would I separate functional areas into se

5条回答
  •  深忆病人
    2021-01-29 22:26

    I know this is an old post but I am thinking of services in the same way as I think of objects in programming.

    Keep them to their bare minimum for what they must do. Of course not to go to the extreme, but I am making my decisions based on data entities.

    One service for Account, one for Product etc.

    Not sure what anyone would think of that though...

提交回复
热议问题