Thursday, November 07, 2013

.NET User Group: WCF Data Services vs ASP.NET Web API

Presentation slides and code downloads:

Responses to some of the Questions

a) How do I issue PUT, POST or DELETE command?

This cannot be done directly using URL but can be done using Fiddler provided the HTTP verbs are allowed in the website (which can be configured in IIS)

Possible URI conventions: http://msdn.microsoft.com/en-us/library/dd728283(v=vs.110).aspx

b) Can WCF Data Services can be used without Entity Framework?

WCF Data Services is tightly coupled with Entity Framework. That's why it is quick and easy to generate the service. Still you can use WCF Data Services without entity framework with custom provider which will defeat the purpose (Quick and easy).

c) Is it possible to add the WCF Data Service as a Service Reference in other .NET project types?

Yes, this can be done as it is a typical Service (.svc) file.

No comments:

Post a Comment