I’ve seen recommendations (Juval Lowy, et al) that a service contract should have “no more than 20 members…twelve is probably the practical limit”. Why? It seems that if you wish to provide a service as the interface to a relatively large db (50-100 tables) you’re going to go way past that in just CRUD alone. I’ve worked with plenty of other services that provided hundreds of ‘OperationContracts’…is there something peculiar about WCF? Is there something I’m missing here?
I’ve seen recommendations (Juval Lowy, et al) that a service contract should have no
Share
probably the fact that you should not expose CRUD in the SOA world…. the idea is to expose business processes. Inidividual CRUD operations lead to a TERIIBLY slow and granular interface. Look more how RIA Services / ASTORIA do the CRUD thing.
I don tthink this is a technical limit. the idea is a service defines all contracts necessary for a business operation (order management, account management) and should not be TOO complicated.