MS10265

Ladda ner som PDF

Developing Data Access Solutions with Microsoft Visual Studio 2010

In this course, experienced developers who know the basics of data access (CRUD) in Windows client and Web application environments will learn to optimize their designs and develop better performing data access code by using the ADO.NET Entity Framework, LINQ, WCF Data Services, the Sync Framework, and ADO.NET.

Målgrupp

This course is intended for professional .NET software developers who have experience implementing data access and data binding within their Web and/or Windows client applications and are interested in learning to optimize data access code in their applications by using the Entity Framework, LINQ, and ADO.NET.

Förkunskaper

Viss erfarenhet av att jobba med Data Access och Data Binding, runt ett års erfarenhet av .NET-utveckling och helst ha kikat på nyheterna i Visual Studio 2010 tidigare.

Kursmaterial

Microsofts officiella elektroniska kursmaterial på engelska ingår.

 This course is Informator Optimized and delivered in 4 days instead of 5 daysObjectives:

  • Evaluate a variety of business cases, and then select an appropriate combination of data access technologies and tools most appropriate to each case. Describe the roles of Entity Framework, WCF Data Services, and ADO.NET for building and maintaining applications. Use LINQ on top of these technologies to improve productivity and the quality of their applications.
  • Use the tools provided with the Entity Framework to map the conceptual model used by the business logic of an application to the logical data model provided by a database.
  • Query an Entity Data Model (EDM) by using common methods such as LINQ to Entities, Entity SQL, and the classes in the EntityClient namespace.
  • Perform data modification tasks on data in an EDM.
  • Explain the function of the Object Services model implemented by the Entity Framework and the support provided by the Object Services API for addressing the issues faced by enterprise applications that have to handle multiple concurrent users simultaneously accessing the same data .
  • Describe best practices for designing and building a scalable, optimized data access layer by using Object Services.
  • Customize and extend entities with their own business logic and use advanced mappings to shape the data model to their business and application requirements.
  • Reuse existing business classes in a data access layer built by using the Entity... Läs mer

 This course is Informator Optimized and delivered in 4 days instead of 5 daysObjectives:

  • Evaluate a variety of business cases, and then select an appropriate combination of data access technologies and tools most appropriate to each case. Describe the roles of Entity Framework, WCF Data Services, and ADO.NET for building and maintaining applications. Use LINQ on top of these technologies to improve productivity and the quality of their applications.
  • Use the tools provided with the Entity Framework to map the conceptual model used by the business logic of an application to the logical data model provided by a database.
  • Query an Entity Data Model (EDM) by using common methods such as LINQ to Entities, Entity SQL, and the classes in the EntityClient namespace.
  • Perform data modification tasks on data in an EDM.
  • Explain the function of the Object Services model implemented by the Entity Framework and the support provided by the Object Services API for addressing the issues faced by enterprise applications that have to handle multiple concurrent users simultaneously accessing the same data .
  • Describe best practices for designing and building a scalable, optimized data access layer by using Object Services.
  • Customize and extend entities with their own business logic and use advanced mappings to shape the data model to their business and application requirements.
  • Reuse existing business classes in a data access layer built by using the Entity Framework.
  • Address the architectural issues that can arise when building an n-tier enterprise application by using the Entity Framework.
  • Build extensible solutions that can update data in an n-tier enterprise application by using the Entity Framework.
  • Access offline data or data that that has limited availability in client applications.
  • Design, develop, and consume a simple WCF Data Service.
  • Use WCF Data Services to update and delete data and to handle multi-user concerns.
  • Develop high performance, scalable ADO.NET applications that can query and update data.
  • Explain how LINQ to SQL enables development against a logical model which abstracts the low-level details of querying ADO.NET tables and result sets.

Course outline:

Module 1: Architecture and Data Access Technologies

  • Data Access Technologies
  • Data Access Scenarios
  • Lab : Analyzing Data Access Scenarios

Module 2: Building Entity Data Models

  • Introduction to Entity Data Models
  • Modifying the Entity Data Model
  • Customizing the Entity Data Model
  • Lab : Using Entity Data Models

Module 3: Querying Entity Data

  • Retrieving Data by Using LINQ to Entities
  • Retrieving Data by Using Entity SQL
  • Retrieving Data by Using EntityClient Provider
  • Retrieving Data by Using Stored Procedures
  • Unit Testing Your Data Access Code
  • Lab : Querying Entity Data

Module 4: Creating, Updating, and Deleting Entity Data

  • Understanding Change Tracking in the Entity Framework
  • Modifying Data in an Entity Data Model
  • Lab : Creating, Updating, and Deleting Entity Data

Module 5: Handling Multi-User Scenarios by Using Object Services

  • Handling Concurrency in the Entity Framework
  • Transactional Support in the Entity Framework
  • Lab : Handling Multi-User Scenarios by Using Object Services

Module 6: Building Optimized Solutions by Using Object Services

  • The Stages of Query Execution
  • Change Tracking and Object Materialization
  • Using Compiled Queries
  • Using Design-Time Generated Entity Framework Views
  • Monitoring Performance
  • Performing Asynchronous Data Modifications
  • Lab : Building Optimized Solutions by Using Object Services

Module 7: Customizing Entities and Building Custom Entity Classes

  • Overriding Generated Classes
  • Using Templates to Customize Entities
  • Creating and Using Custom Entity Classes
  • Lab : Customizing Entities and Building Custom Entity Classes

Module 8: Using POCO Classes with the Entity Framework

  • Requirements for POCO Classes
  • POCO Classes and Lazy Loading
  • POCO Classes and Change Tracking
  • Extending Entity Types
  • Lab : Using POCO Classes with the Entity Framework

Module 9: Building an N-Tier Solution by Using the Entity Framework 

  • Designing an N-Tier Solution
  • Defining Operations and Implementing Data Transport Structures
  • Protecting Data and Operations
  • Lab : Building an N-Tier Solution by Using the Entity Framework

Module 10: Handling Updates in an N-Tier Solution by Using the Entity Framework

  • Tracking Entities and Persisting Changes
  • Managing Exceptions in an N-Tier Solution
  • Lab : Handling Updates in an N-Tier Solution by Using the Entity Framework

Module 11: Building Occasionally Connected Solutions

  • Offline Data Caching by Using XML
  • Using the Sync Framework
  • Lab : Building Occasionally Connected Solutions

Module 12: Querying Data by Using WCF Data Services

  • Introduction to WCF Data Services
  • Creating a WCF Data Service
  • Consuming a WCF Data Service
  • Protecting Data and Operations in a WCF Data Service
  • Lab : Creating and Using WCF Data Services

Module 13: Updating Data by Using WCF Data Services

  • Creating, Updating, and Deleting Data in a WCF Data Service
  • Preventing Unauthorized Updates and Improving Performance
  • Using WCF Data Services with Nonrelational Data
  • Lab : Updating Data by Using WCF Data Services

Module 14: Using ADO.NET

  • Retrieving and Modifying Data by Using ADO.NET Commands
  • Retrieving and Modifying Data by Using DataSets
  • Managing Transactions and Concurrency in Multiuser Scenarios
  • Lab : Using ADO.NET

Module 15: Using LINQ to SQL

  • Implementing a Logical Data Model by Using LINQ to SQL
  • Managing Performance and Handling Concurrency
  • Lab : Using LINQ to SQL

Utbildningen levereras i samarbete med

Kurs-ID: MS10265
Längd: 4 dagar
Kan betalas med:
TRAINING CARD SA-VOUCHER

Lämna dina kontaktuppgifter om du önskar en företagsintern utbildning.