Objective 3.1: Choose the Appropriate Data Access Strategy

Anytime you are accessing a database directly from a .NET application, you should use the Entity Framework as your data access layer. If clients need to access a database across the Internet, use Windows Communication Foundation (WCF) data services (formerly known as ADO.NET data services) to implement an open, standards-based Open Data Protocol (OData) and a Representational State Transfer (REST) service.

This objective provides an overview of the available data access technologies and describes the scenarios in which you should choose each one.

Get MCPD 70-518 Exam Ref: Designing and Developing Windows® Applications Using Microsoft® .NET Framework 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.