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
- Architecture and Data Access Technologies
- Data Access Technologies
- Data Access Scenarios
- Lab: Analyzing Data Access Scenarios
- Identifying Data Access Technologies
- Building Entity Data Models
- Introduction to Entity Data Models
- Modifying the Entity Data Model
- Customizing the Entity Data Model
- Lab: Using Entity Data Models
- 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
- 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
- Retrieving All Contact Entities
- Retrieving Contact Entities by Using a Filter
- Retrieving RewardsClaimed Entities
- Querying the Rewards Family of Entities
- Executing a Stored Procedure
- 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
- Maintaining Contact and Reward Data
- Maintaining RewardsClaim Data
- 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
- Handling Concurrency of Rewards Claimed Data
- Updating the RewardsClaimed and ArchivedRewardsClaimed Information by Using a Transaction
- 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
- Improving the Performance of Query Operations
- Improving the Performance of Update Operations
- 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
- Using a Template to Add Custom Functionality to Entity Classes
- Creating Custom Entity Classes
- 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
- Using POCO Classes
- Extending Your POCO Classes
- 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
- Creating the Contacts and Orders Data Access Tier
- Protecting Data Access Operations
- 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
- Handling Updates in the Data Access Tier
- Detecting and Handling Order Conflicts
- Building Occasionally Connected Solutions
- Offline Data Caching by Using XML
- Using the Sync Framework
- Lab: Building Occasionally Connected Solutions
- Modifying the Orders Application to Use Offline XML Data
- Modifying the Orders Application to Synchronize Locally Cached Data
- 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
- 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
- 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
- Updating Entities by Using a WCF Data Service
- Creating and Deleting Entities by Using a WCF Data Service
- Restricting Create, Update, and Delete Requests
- 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
- Using ADO.NET to Retrieve Read-Only Information Quickly and Perform Simple Data Modifications
- Developing the Product List Web Application
- Enabling Data Modifications
- Using LINQ to SQL
- Implementing a Logical Data Model by Using LINQ to SQL
- Managing Performance and Handling Concurrency
- Lab: Using LINQ to SQL
- Using LINQ to SQL to Build a Data Access Layer
- Updating a Database by Using a Stored Procedure
- 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!