Posts

Showing posts with the label WCF Services

WCF Ria Services vs WCF Services

WCF RIA Services Pro’s: Service can be consumed easily from Silverlight, AJAX, and WebForms. (Not winforms(??)) Non-discoverable. Richer client side object model by including business rules and relationships between objects. Quicker to set up. Good for Rapid development. More control over what is exposed. Uses a set Interface. Integrated change tracking by default. Can monitor changes in client and batch the changes to the server. Uses reflection at design time to see objects (doesn’t use service contracts) Creates client code in Silverlight. Design time experience with data sources, drag drop etc. (Contains these features) Shares validation logic in client. Can use a set interface. Also provides Context object in client. Can support Linq queries between client and server but these are based on Interface. Examples: GetGamesByIdQuery(1); Var qry = GetGamesQuery().Where(g =>; g.Price < 50) LoadOperation op = cnt.Load (qry); Con’s: Harder to Customize than ...