You create the following WCF Data Service:

public class Northwind : DataService<NorthwindEntities>
{
public static void InitializeService(DataServiceConfiguration config)
{
config.SetEntitySetAccessRule("Orders", EntitySetRights.AllRead);
}
}

You need to retrieve all Orders entities.

Which URI should you use?

 Posted by Rajkatie on 9/1/2012 | Category: ADO.NET Interview questions | Views: 2760 | Points: 40
Select from following answers:
  1. http://localhost:12345/Northwind.svc/Orders
  2. http://localhost:12345/Northwind.svc/Orders('All')
  3. http://localhost:12345/Northwind.svc/Entities?Orders
  4. All Above

Show Correct Answer


Source: MeasureUp.com | | Alert Moderator 

Comments or Responses

Login to post response