1.Difference
between WCF Data Services and WCF RIA Services
Another
good reference:
http://silverlighttime.blogspot.in/2011/04/what-is-difference-between-wcf-data.html
-
S.No WCF 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.2 Supported 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).3 Client 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).4 Service 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.
http://silverlighttime.blogspot.in/2011/04/what-is-difference-between-wcf-data.html
2.Difference
between Close and Abort in WCF Channels
-
S.No CloseAbort1Close performs graceful shutdown of Client ChannelAbort shut downs Client channel immediately.2 Close waits for in progress calls to complete before closingAbort ends in progress calls.
3 Close should not be called in faulted channels as it can throw Communication or Timeout exceptionAbort should be called in faulted channels.
3.Difference
between ASMX and SVC
-
S.No ASMXSVC1Web service class inheritance for ASMX is called WebServiceThere is no Web service class inheritance for SVC.2 In ASMX,Web service class attribute is called as WebServiceAttribute.In SVC,Web service class attribute is called as ServiceContractAttribute.3 In ASMX,Web service method attribute is called as WebMethodAttribute.In SVC,Web service method attribute is called as OperationContractAttribute.4 In ASMX,Data class attribute is called as XmlRootAttributeIn SVC,Data class attribute is called as DataContractAttribute.5 In ASMX,Data class field attribute is called as XmlElementAttributeIn SVC,Data class field attribute is called as DataMemberAttribute.6 In ASMX,HTTP endpoint resource is called as .ASMX.In SVC,HTTP endpoint resource is called as .SVC7 In ASMX, Serialization attribute is called as XMLSerializer attribute.In SVC, Serialization attribute is called as DataContractSerializer attribute.
No comments:
Post a Comment