MOC 10265, Developing Data Access Solutions with Microsoft Visual Studio 2010

This 5 day instructor-led training class is presented by Microsoft training partners to their end customers. Channel Partners nationwide hire proven AMS Subject Matter Expert Microsoft Certified Trainers (MCT’s) to teach on-site or on-line classes.

This class is for 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.

This class is intended for professional .NET software developers who use Microsoft Visual Studio in a team-based, medium-sized to large development environment. They will 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. Members of the audience are experienced users of Microsoft Visual Studio 2008 SP1 or newer releases of the Visual Studio product. The audience has some experience using Visual Studio 2010 for either Windows client or Web application development.

Goals

  • 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.
  • Learn to 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.
  • Learn to query an Entity Data Model (EDM) by using common methods such as LINQ to Entities, Entity SQL, and the classes in the EntityClient namespace.
  • Learn to perform data modification tasks on data in an EDM.
  • Learn to 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 .
  • Learn to describe best practices for designing and building a scalable, optimized data access layer by using Object Services.
  • Learn to customize and extend entities with their own business logic and use advanced mappings to shape the data model to their business and application requirements.
  • Learn to reuse existing business classes in a data access layer built by using the Entity Framework.
  • Learn to address the architectural issues that can arise when building an n-tier enterprise application by using the Entity Framework.
  • Learn to build extensible solutions that can update data in an n-tier enterprise application by using the Entity Framework.
  • Learn to access offline data or data that that has limited availability in client applications.
  • Learn to design, develop, and consume a simple WCF Data Service.
  • Learn to use WCF Data Services to update and delete data and to handle multi-user concerns.
  • Learn to develop high performance, scalable ADO.NET applications that can query and update data.
  • Learn to 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.

Outline

  1. Architecture and Data Access Technologies
    1. Data Access Technologies
    2. Data Access Scenarios
    3. Lab: Analyzing Data Access Scenarios
    4. Identifying Data Access Technologies
  2. Building Entity Data Models
    1. Introduction to Entity Data Models
    2. Modifying the Entity Data Model
    3. Customizing the Entity Data Model
    4. Lab: Using Entity Data Models
    5. Generating an EDM from the AdventureWorks Database
    6. Adding Entities and Associations
    7. Using the Generate Database Wizard
    8. Mapping Entities to Multiple Tables
    9. Implementing an Inheritance Hierarchy
    10. Using Stored Procedures
    11. Creating a Complex Type
  3. Querying Entity Data
    1. Retrieving Data by Using LINQ to Entities
    2. Retrieving Data by Using Entity SQL
    3. Retrieving Data by Using EntityClient Provider
    4. Retrieving Data by Using Stored Procedures
    5. Unit Testing Your Data Access Code
    6. Lab: Querying Entity Data
    7. Retrieving All Contact Entities
    8. Retrieving Contact Entities by Using a Filter
    9. Retrieving RewardsClaimed Entities
    10. Querying the Rewards Family of Entities
    11. Executing a Stored Procedure
  4. Creating, Updating, and Deleting Entity Data
    1. Understanding Change Tracking in the Entity Framework
    2. Modifying Data in an Entity Data Model
    3. Lab: Creating, Updating, and Deleting Entity Data
    4. Maintaining Contact and Reward Data
    5. Maintaining RewardsClaim Data
  5. Handling Multi-User Scenarios by Using Object Services
    1. Handling Concurrency in the Entity Framework
    2. Transactional Support in the Entity Framework
    3. Lab: Handling Multi-User Scenarios by Using Object Services
    4. Handling Concurrency of Rewards Claimed Data
    5. Updating the RewardsClaimed and ArchivedRewardsClaimed Information by Using a Transaction
  6. Building Optimized Solutions by Using Object Services
    1. The Stages of Query Execution
    2. Change Tracking and Object Materialization
    3. Using Compiled Queries
    4. Using Design-Time Generated Entity Framework Views
    5. Monitoring Performance
    6. Performing Asynchronous Data Modifications
    7. Lab: Building Optimized Solutions by Using Object Services
    8. Improving the Performance of Query Operations
    9. Improving the Performance of Update Operations
  7. Customizing Entities and Building Custom Entity Classes
    1. Overriding Generated Classes
    2. Using Templates to Customize Entities
    3. Creating and Using Custom Entity Classes
    4. Lab: Customizing Entities and Building Custom Entity Classes
    5. Using a Template to Add Custom Functionality to Entity Classes
    6. Creating Custom Entity Classes
  8. Using POCO Classes with the Entity Framework
    1. Requirements for POCO Classes
    2. POCO Classes and Lazy Loading
    3. POCO Classes and Change Tracking
    4. Extending Entity Types
    5. Lab: Using POCO Classes with the Entity Framework
    6. Using POCO Classes
    7. Extending Your POCO Classes
  9. Building an N-Tier Solution by Using the Entity Framework
    1. Designing an N-Tier Solution
    2. Defining Operations and Implementing Data Transport Structures
    3. Protecting Data and Operations
    4. Lab: Building an N-Tier Solution by Using the Entity Framework
    5. Creating the Contacts and Orders Data Access Tier
    6. Protecting Data Access Operations
  10. Handling Updates in an N-Tier Solution by Using the Entity Framework
    1. Tracking Entities and Persisting Changes
    2. Managing Exceptions in an N-Tier Solution
    3. Lab: Handling Updates in an N-Tier Solution by Using the Entity Framework
    4. Handling Updates in the Data Access Tier
    5. Detecting and Handling Order Conflicts
  11. Building Occasionally Connected Solutions
    1. Offline Data Caching by Using XML
    2. Using the Sync Framework
    3. Lab: Building Occasionally Connected Solutions
    4. Modifying the Orders Application to Use Offline XML Data
    5. Modifying the Orders Application to Synchronize Locally Cached Data
  12. Querying Data by Using WCF Data Services
    1. Introduction to WCF Data Services
    2. Creating a WCF Data Service
    3. Consuming a WCF Data Service
    4. Protecting Data and Operations in a WCF Data Service
    5. Lab: Creating and Using WCF Data Services
    6. Exposing Order Data as a WCF Data Service
    7. Consuming a WCF Data Service
    8. Restricting Access to Data Exposed by a WCF Data Service
    9. Implementing a Business Operation in a WCF Data Service
  13. Updating Data by Using WCF Data Services
    1. Creating, Updating, and Deleting Data in a WCF Data Service
    2. Preventing Unauthorized Updates and Improving Performance
    3. Using WCF Data Services with Nonrelational Data
    4. Lab: Updating Data by Using WCF Data Services
    5. Updating Entities by Using a WCF Data Service
    6. Creating and Deleting Entities by Using a WCF Data Service
    7. Restricting Create, Update, and Delete Requests
  14. Using ADO.NET
    1. Retrieving and Modifying Data by Using ADO.NET Commands
    2. Retrieving and Modifying Data by Using DataSets
    3. Managing Transactions and Concurrency in Multiuser Scenarios
    4. Lab: Using ADO.NET
    5. Using ADO.NET to Retrieve Read-Only Information Quickly and Perform Simple Data Modifications
    6. Developing the Product List Web Application
    7. Enabling Data Modifications
  15. Using LINQ to SQL
    1. Implementing a Logical Data Model by Using LINQ to SQL
    2. Managing Performance and Handling Concurrency
    3. Lab: Using LINQ to SQL
    4. Using LINQ to SQL to Build a Data Access Layer
    5. Updating a Database by Using a Stored Procedure
    6. Building a Custom Entity Class

To Hire an AMS Microsoft Visual Studio 2010 Subject Matter Expert
Consultant and Instructor who also teaches this class, call 800-798-3901 today!

Leave a Reply