You are designing an ASP.NET Web application. The Web application must meet the following requirements:
– Support REST without implementing custom URI templates.
– Allow CRUD functionality.
You need to recommend a data access strategy.
What should you recommend?
A.
Use WCF Services.
B.
Use WCF Data Services.
C.
Use ASP.NET Web Services.
D.
Use SQL Server Service Broker.
Explanation:
The CRUD (Create, Read, Update, Delete)
REST (Representation state transfer)WCF Data Services
WCF Data Services (formerly known as “ADO.NET Data Services”) is a component of the .NET Framework that enables you to create services that use the Open Data Protocol (OData) to expose and consume data over the Web or intranet by using the semantics of representational state transfer (REST). OData exposes data as resources that are addressable by URIs. Data is accessed and changed by using standard HTTP verbs of GET, PUT, POST, and DELETE. OData uses the entity-relationship conventions of the Entity Data Model to expose resources as sets of entities that are related by associations.
http://msdn.microsoft.com/en-us/library/cc668792.aspx