0% found this document useful (0 votes)
32 views2 pages

WCF Difference FAQs-3

This provides a list of WCF FAQs-3 which are of "Difference between" kind

Uploaded by

Umar Ali
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

WCF Difference FAQs-3

This provides a list of WCF FAQs-3 which are of "Difference between" kind

Uploaded by

Umar Ali
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1.Difference between WCF Data Services and WCF RIA Services S.

No 1 WCF Data Services Supported Clients: WCF RIA Services Supported Clients:

Resource-based API, supports all Domain-based API, most tailored for clients via deep REST and OData use with Silverlight, but supports other support. clients via SOAP, JSON, and OData. 2 Supported Data Access Layers : Supported Data Access Layers :

Targets EF. Other DALs are Supports EF, LINQ to SQL, and supported, but greater effort is POCO (custom persistence layer). required. 3 Client Development : Client Development :

Requires you to notify the context Supports self-tracking entities, for change tracking. synchronized client/server logic, and much more (particularly with Silverlight). 4 Service Development : Service Development :

Instant, code-less, extensible Requires you to code CRUD REST services out of the box operations manually in domain service (with EF); free CRUD. classes. Another good reference: http://silverlighttime.blogspot.in/2011/04/what-is-difference-between-wcf-data.html 2.Difference between Close and Abort in WCF Channels S.No 1 2 3 Close Abort

Close performs graceful shutdown Abort shut downs Client channel of Client Channel immediately. Close waits for in progress calls to Abort ends in progress calls. complete before closing Close should not be called in Abort should be called in faulted faulted channels as it can throw channels. Communication or Timeout exception

3.Difference between ASMX and SVC S.No 1 2 ASMX SVC service class

Web service class inheritance for There is no Web ASMX is called WebService inheritance for SVC. In ASMX,Web service attribute is called WebServiceAttribute.

class In SVC,Web service class attribute is as called as ServiceContractAttribute.

In ASMX,Web service method In SVC,Web service method attribute attribute is called as is called as WebMethodAttribute. OperationContractAttribute. In ASMX,Data class attribute is In SVC,Data class attribute is called as called as XmlRootAttribute DataContractAttribute. In ASMX,Data class attribute is called XmlElementAttribute field In SVC,Data class field attribute is as called as DataMemberAttribute.

4 5

6 7

In ASMX,HTTP endpoint In SVC,HTTP endpoint resource is resource is called as .ASMX. called as .SVC In ASMX, Serialization attribute In SVC, Serialization attribute is called is called as XMLSerializer as DataContractSerializer attribute. attribute.

And, further updates on difference between questions and answers, please visit my blog @ http://onlydifferencefaqs.blogspot.in/

You might also like