S.NoWCF Data ServicesWCF RIA Services1Supported Clients:Resource-based API, supports all clients via deep REST and OData support.Supported Clients:Domain-based API, most tailored for use with Silverlight, but supports other clients via SOAP, JSON, and OData. 2Supported Data Access Layers :Targets EF. Other DALs are supported, but greater effort is required.Supported Data Access Layers :Supports EF, LINQ to SQL, and POCO (custom persistence layer). 3Client Development :Requires you to notify the context for change tracking.Client Development :Supports self-tracking entities, synchronized client/server logic, and much more (particularly with Silverlight). 4Service Development :Instant, code-less, extensible REST services out of the box (with EF); “free CRUD.”Service Development :Requires you to code CRUD operations manually in domain service classes.
S.NoCloseAbort1Close performs graceful shutdown of Client ChannelAbort shut downs Client channel immediately. 2Close waits for in progress calls to complete before closing Abort ends in progress calls.
3Close should not be called in faulted channels as it can throw Communication or Timeout exceptionAbort should be called in faulted channels.
S.NoASMXSVC1Web service class inheritance for ASMX is called WebServiceThere is no Web service class inheritance for SVC. 2In ASMX,Web service class attribute is called as WebServiceAttribute.In SVC,Web service class attribute is called as ServiceContractAttribute. 3In ASMX,Web service method attribute is called as WebMethodAttribute.In SVC,Web service method attribute is called as OperationContractAttribute. 4In ASMX,Data class attribute is called as XmlRootAttributeIn SVC,Data class attribute is called as DataContractAttribute. 5In ASMX,Data class field attribute is called as XmlElementAttributeIn SVC,Data class field attribute is called as DataMemberAttribute. 6In ASMX,HTTP endpoint resource is called as .ASMX.In SVC,HTTP endpoint resource is called as .SVC 7In ASMX, Serialization attribute is called as XMLSerializer attribute.In SVC, Serialization attribute is called as DataContractSerializer attribute.