Microsoft 10265 Training 70-516
Developing Data Access Solutions with Microsoft Visual Studio 2010
Microsoft Certified Technology Specialist (MCTS): Microsoft .NET Framework 4, Data Access M10265 70-516
Course Title: Developing Data Access Solutions with
Microsoft Visual Studio 2010
Course Code: M10265
Version: A
Level: 200
Duration: 5 Days
Course Overview
The Developing Data Access Solutions with Microsoft Visual Studio 2010 M10265 instructor-led training course has been designed to teach experienced developers who know the basics of data access (CRUD) in Windows client and Web application environments to optimise 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.Target Audience
Candidates who should consider attending the M10265 Microsoft training course are professional .NET software developers who use Microsoft Visual Studio in a team-based, medium-sized to large development environment.Course Objectives
On successfully completing the M10265 course candidates will be able to:- 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, optimised data access layer by using Object Services
- Customise 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 Prerequisites
Candidates attending the M10265 Microsoft training course are expected to have the following skills and knowledge listed below.An understanding of the problem-solving techniques that apply to software development, including the following principles of software development:
A basic understanding of the following scripting techniques and some hands-on experience writing scripts:
A general understanding of the purpose, function, and features of following .NET Framework topics:
Experience using Visual Studio 2008 in the following task areas:
Experience in object oriented design and development as follows:
Experience in N-Tier application design and development as follows:
- Basics of LINQ to XML
- Basics of LINQ to Entities
- Basics of LINQ to SQL
- Basics of Code Access Security
- Basics of Role-Based Security
- Basics of Cryptography Services
- Basics of creating and consuming XML Web Services
- Basics of creating and consuming WCF Services
Data access experience in Windows client application development as follows:
Data access experience in Web application development as follows:
Testing and Certification
The M10265 Microsoft training course is the recommended preparation for the 70-516 TS: Accessing Data with Microsoft .NET Framework 4 exam.Course Content
Module 1: Architecture and Data Access TechnologiesIn this module candidates will learn how to evaluate a variety of business cases, and then select an appropriate combination of data access technologies and tools most appropriate to each case. Candidates will learn about the roles of Entity Framework, Data Services, and ADO.NET for building and maintaining applications as well as the use of LINQ on top of these technologies to improve their productivity and the quality of their applications.
Lessons:
- Data Access Technologies
- Data Access Scenarios
- Identifying Data Access Technologies
- Describe the key data access technologies available to .NET Framework developers
- Assign appropriate data access technologies to common data access scenarios
Module 2: Building Entity Data Models
In this module candidates will learn how 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.
Lessons:
- Introduction to Entity Data Models
- Modifying the Entity Data Model
- Customising the Entity Data Model
- Generating an EDM from the AdventureWorks Database
- Adding Entities and Associations
- Using the Generate Database Wizard
- Mapping Entities to Multiple Tables
- Implementing an Inheritance Hierarchy
- Using Stored Procedures
- Creating a Complex Type
- Describe and create an Entity Data Model
- Modify an Entity Data Model by using the Entity Designer
- Customise a model to meet their business requirements
Module 3: Querying Entity Data
In this module candidates will learn how to query an entity data model by using common methods such as LINQ to Entities, Entity SQL, and the classes in the EntityClient namespace.
Lessons:
- 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
- Retrieving All Contact Entities
- Retrieving Contact Entities by Using a Filter
- Retrieving RewardsClaimed Entities
- Querying the Rewards Family of Entities
- Executing a Stored Procedure
- Retrieve data by using LINQ to Entities
- Retrieve data by using the Entity SQL language
- Retrieve data by using the EntityClient Provider
- Retrieve data by using stored procedures in the entity model
- Create unit tests for their data access code
Module 4: Creating, Updating, and Deleting Entity Data
In this module candidates will learn how to perform data modification (CUD) tasks through an entity data model by using LINQ to Entities, Entity SQL, and the classes in the EntityClient namespace.
Lessons:
- Understanding Change Tracking in the Entity Framework
- Modifying Data in an Entity Data Model
- Maintaining Contact and Reward Data
- Maintaining RewardsClaim Data
- Describe how the Entity Framework implements change tracking
- Describe how to modify data in the entity model, and persist the changes to the database
Module 5: Handling Multi-User Scenarios by Using Object Services
In this module candidates will get a deeper understanding of the object model implemented by EF, and the support provided by the Object Services API for addressing the issues faced by enterprise applications that have handle multiple concurrent users accessing the same data simultaneously.
Lessons:
- Handling Concurrency in the Entity Framework
- Transactional Support in the Entity Framework
- Handling Concurrency of Rewards Claimed Data
- Updating the RewardsClaimed and ArchivedRewardsClaimed Information by Using a Transaction
- Describe the optimistic concurrency model that the Entity Framework uses
- Manage transactions in applications that use the Entity Framework
Module 6: Building Optimised Solutions by Using Object Services
In this module candidates will learn best practices for designing and building a scalable, optimised data access layer by using Object Services.
Lessons:
- The Stages of Query Execution
- Change Tracking and Object Materialisation
- Using Compiled Queries
- Using Design-Time Generated Entity Framework Views
- Monitoring Performance
- Performing Asynchronous Data Modifications
- Improving the Performance of Query Operations
- Improving the Performance of Update Operations
- Explain how the Entity Framework executes queries
- Understand the impact of tracking and object materialisation on query performance
- Describe how to use compiled queries
- Describe how to use design-time generated views
- Describe how to monitor query performance
- Describe how to perform asynchronous data modifications
Module 7: Customising Entities and Building Custom Entity Classes
In this module candidates will learn how to customise and extend entities with their own business logic, and to use advanced mappings and other techniques in the Designer and XML to shape the data model to their business and application requirements (rather than an EDM that closely reflects the database).
Lessons:
- Overriding Generated Classes
- Using Templates to Customise Entities
- Creating and Using Custom Entity Classes
- Using a Template to Add Custom Functionality to Entity Classes
- Creating Custom Entity Classes
- Use partial classes and methods to add business logic to generated code
- Create and use templates to customise code generation
- Modify existing business classes to take advantage of entity functionality
Module 8: Using POCO Classes with the Entity Framework
In this module candidates will learn how to reuse existing POCO business classes in a data access layer built by using the Entity Framework.
Lessons:
- Requirements for POCO Classes
- POCO Classes and Lazy Loading
- POCO Classes and Change Tracking
- Extending Entity Types
- Using POCO Classes
- Extending Your POCO Classes
- List the requirements that their POCO classes must meet
- Create POCO entities that support automatic lazy loading
- Create POCO entities that support automatic change tracking
- Describe the options for using interfaces and inheritance to create custom entity objects
Module 9: Building an N-Tier Solution by Using the Entity Framework
In this module candidates will learn how to address the architectural issues that can arise when building an N-Tier enterprise application by using the Entity Framework.
Lessons:
- Designing an N-Tier Solution
- Defining Operations and Implementing Data Transport Structures
- Protecting Data and Operations
- Creating the Contacts and Orders Data Access Tier
- Protecting Data Access Operations
- Describe the issues and strategies that are relevant to building n-tier applications
- Understand the key components that they must create in order to implement an n-tier application
- Describe how to protect operations and data in an n-tier application
Module 10: Handling Updates in an N-Tier Solution by Using the Entity Framework
In this module candidates will learn how to build extensible solutions that can update data in an N-Tier enterprise application by using the Entity Framework.
Lessons:
- Tracking Entities and Persisting Changes
- Managing Exceptions in an N-Tier Solution
- Handling Updates in the Data Access Tier
- Detecting and Handling Order Conflicts
- Describe strategies that they can adopt for tracking changes in the client application, and persisting those changes in the database
- Describe how to trap and handle update and concurrency exceptions in the an n-tier solution
Module 11: Building Occasionally Connected Solutions
In this module candidates will learn how to access offline data, or data that that has limited availability in client applications.
Lessons:
- Offline Data Caching by Using XML
- Using the Sync Framework
- Modifying the Orders Application to Use Offline XML Data
- Modifying the Orders Application to Synchronise Locally Cached Data
- Cache data in local XML files by using LINQ to XML
- Implement an occasionally connected application by using the Microsoft Sync Framework
Module 12: Querying Data by Using WCF Data Services
In this module candidates will learn how to design, develop, and consume a simple data service.
Lessons:
- Introduction to WCF Data Services
- Creating a WCF Data Service
- Consuming a WCF Data Service
- Protecting Data and Operations in a WCF Data Service
- Exposing Order Data as a WCF Data Service
- Consuming a WCF Data Service
- Restricting Access to Data Exposed by a WCF Data Service
- Implementing a Business Operation in a WCF Data Service
- Describe the purpose and features of WCF Data Services
- Expose data by using a WCF Data Service
- Implement a client application that can consume a WCF Data Service
- Grant and restrict access to resources exposed by a WCF Data Service
Module 13: Updating Data by Using WCF Data Services
In this module candidates will learn how to use WCF Data Services to update and delete data and handle multi-user concerns.
Lessons:
- Creating, Updating, and Deleting Data in a WCF Data Service
- Preventing Unauthorised Updates and Improving Performance
- Using WCF Data Services with Nonrelational Data
- Updating Entities by Using a WCF Data Service
- Creating and Deleting Entities by Using a WCF Data Service
- Restricting Create, Update, and Delete Requests
- Create, update, and delete entities by using a WCF Data Service
- Control access to data modification functionality, and improve performance by batching commands together
- Use WCF Data Services to access and modify nonrelational data
Module 14: Using ADO.NET
In this module candidates will learn how to develop high performance, scalable ADO.NET applications that can query and update data.
Lessons:
- Retrieving and Modifying Data by Using ADO.NET Commands
- Retrieving and Modifying Data by Using DataSets
- Managing Transactions and Concurrency in Multiuser Scenarios
- Using ADO.NET to Retrieve Read-Only Information Quickly and Perform Simple Data Modifications
- Developing the Product List Web Application
- Enabling Data Modifications
- Retrieve and update data by using ADO.NET commands and stored procedures
- Retrieve and update data by using DataSet objects
- Implement transactions and handle concurrency exceptions
Module 15: Using LINQ to SQL
In this module candidates will learn how LINQ to SQL enables them to develop against a logical model which abstracts the low-level details of querying ADO.NET tables and result sets.
Lessons:
- Implementing a Logical Data Model by Using LINQ to SQL
- Managing Performance and Handling Concurrency
- Using LINQ to SQL to Build a Data Access Layer
- Updating a Database by Using a Stored Procedure
- Building a Custom Entity Class
- Design a logical data model by using LINQ to SQL
- Manage performance by using LINQ to SQL, and handle concurrency
