Best practice for large WCF service?

前端 未结 5 1104
时光说笑
时光说笑 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:41

    I have a post here about how individual operations should differ from traditional code operations:

    http://www.iserviceoriented.com/blog/post/Introduction+to+Service+Oriented+Architecture.aspx

    You should end up only with operations for actual business events. If you ever stop and think "I need to enable transaction support on my web service" that means you haven't designed the operation with a wide enough scope. You should never have to enable web service transaction support.

    I highly recommend Bill Poole's blog for higher level SOA concepts. Here's a post to get started:

    http://feeds.feedburner.com/~r/BillPoolesCreativeAbrasion/~3/328955489/service-contract-stability.html

提交回复
热议问题