- Microsoft .NET Training
- 10265A: Developing Data Access Solutions with Microsoft Visual Studio 2010 (MS Certification)
This course is intended for professional .NET software developers who use Microsoft Visual Studio in a team-based, medium-sized to large development environment.
- Course Outline
About this course
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.
This course 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.
Typically, this audience has the following knowledge/experience:
* Experience developing n-tier applications that access various data sources
* Experience implementing data binding within their applications
* Some experience using LINQ and ADO.NET
* A conceptual understanding of the Entity Framework
At course completion
After completing this course, students 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, 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.
Module 1: Architecture and Data Access Technologies
This module describes the commonly used data access technologies and scenarios in which you are likely to use them.
- 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.
This module introduces the concepts of data modeling, and in particular, Entity Data Models (EDMs). It explains how you can use EDMs to decouple the conceptual data structure in your applications from the logical data structure in the data store.
- Introduction to Entity Data Models
- Modifying the Entity Data Model
- Customizing 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.
- Customize a model to meet their business requirements.
This module explains 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.
- 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.
This module introduces you to the ways that the Entity Framework enables you to modify the data in your database. You apply changes to the entities managed by the ObjectContext class. The ObjectContext class is responsible for tracking all changes to entities and then persisting these changes to the database on request.
- 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.
This module introduces the concurrency model that the Entity Framework uses to address the issues faced by applications that must support multiple users who access the same data simultaneously. It also describes how the Entity Framework can make use of transactions to ensure data integrity.
- 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.
This module explains best practices for designing and building a scalable, optimized data access layer by using Object Services. The module introduces several techniques that can be used to optimize the performance of queries that execute against the conceptual model.
- 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
- 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 materialization 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.
This module describes how to customize and extend entities with your own business logic.
- Overriding Generated Classes
- Using Templates to Customize 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 customize code generation.
- Modify existing business classes to take advantage of entity functionality.
This module introduces the ways in which you can define custom entity classes in your Entity Framework application. By default, Microsoft Visual Studio generates a set of entity classes for you from the Entity Data Model (EDM). Instead of these generated classes, you may want to use an existing set of "plain old" CLR objects (POCO) business classes in your application You can also extend the generated entity classes to add custom business functionality to your entity objects.
- 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.
This module explains how to address the architectural issues that can arise when building an N-Tier enterprise application by using the Entity Framework.
- 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.
This module describes how you can handle data modifications in an n-tier solution. The module describes the different strategies for handling modifications that you should use for the different alternative formats for transporting data between tiers: data transfer objects (DTOs), self-tracking entities (STEs), and simple entities (SEs). The module also describes how to manage the exceptions that can occur during the data modification process.
- 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.
This module describes how to access offline or occasionally connected data in client applications.
- Offline Data Caching by Using XML
- Using the Sync Framework
- Modifying the Orders Application to Use Offline XML Data
- Modifying the Orders Application to Synchronize 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.
Windows Communication Foundation (WCF) Data Services enable you to create highly flexible data services that can be used to provide access to data across the Internet or a corporate network. You can access these services by using REST-style URIs, and they can be easily consumed by a wide variety of applications. As WCF Data Services are build on top of standard Internet protocols such as HTTP and the Atom Publishing Protocol, they are an ideal choice for delivering data to AJAX applications and Rich Interactive Applications built using technologies such as Microsoft Silverlight.
- 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.
This module describes how to use WCF Data Services to create, update, and delete data. WCF Data Services use standard internet protocols such as HTTP and the Atom Publishing Protocol to enable update access to data across the Internet or a corporate network.
- Creating, Updating, and Deleting Data in a WCF Data Service
- Preventing Unauthorized 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.
ADO.NET is a highly flexible framework for building applications that require access to data held in a data source. This module introduces ADO.NET and explains how you can use it to develop scalable, high-performance, data-driven applications.
- 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
- o Retrieve and update data by using ADO.NET commands and stored procedures.
- o Retrieve and update data by using DataSet objects.
- o Implement transactions and handle concurrency exceptions.
ADO.NET provides a mechanism that enables you to build applications that can query and maintain data that is held in a variety of sources in a database-agnostic manner. However, building applications by using ADO.NET requires that you are familiar with the Structured Query Language (SQL) language and features of the database management system that you are connecting to. Language-Integrated Query (LINQ) to SQL provides a higher-level abstraction for managing data that is held in a Microsoft SQL Server database, and is an ideal stepping stone for migrating ADO.NET applications toward the ADO.NET Entity Framework. This module introduces LINQ to SQL and explains how you can use it to abstract the low-level details of ADO.NET queries by developing against a logical data model.
- 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.
- Prerequisites & Certificates
Before attending this course, students must have: * An understanding of the problem-solving techniques that apply to software development, including the following principles of software development: o Modern software development models o Typical phases of a software development lifecycle o Concepts of event-driven programming o Concepts of object-oriented programming o Creating use-case diagrams o Designing and building a user interface o Developing a structured application * A basic understanding of the following scripting techniques and some hands-on experience writing scripts: o Web scripting techniques o Macro scripting techniques o Windows scripting techniques * A general understanding of the purpose, function, and features of following .NET Framework topics: o Common Language Runtime o .NET Framework class library o Common Type System o Component interoperation o Cross-language interoperability o Assemblies in the Common Language Runtime o Application domains o Runtime hosts supported by the .NET Framework * Experience using Visual Studio 2008 in the following task areas: o Declaring and initializing typed variables using the Camel case naming convention o Using arithmetic, relational, and logical operators in code statements o Using branching statements to control code execution o Using looping statements to iterate through collections or repeat steps until a specified condition is met o Creating classes and methods to establish the basic structure of an application o Using methods and events to implement the programming logic of an application o Identifying syntax and logic errors o Accessing and managing data from a data source * Experience in object oriented design and development as follows: o Creating and accessing classes and class properties o Creating and accessing methods and overloaded methods o Implementing inheritance, base classes, and abstract classes o Declaring, raising, and handling events o Responding to and throwing exceptions o Implementing interfaces and polymorphism o Implementing shared and static members o Implementing generics o Creating components and class libraries * Experience in N-Tier application design and development as follows: o Managing a software development process o Controlling input at the user interface level in Windows client and Web applications o Debugging, tracing, and profiling .NET applications o Monitoring and logging .NET applications o Implementing basic testing best practices o Performing basic data access tasks with LINQ + Basics of LINQ to XML + Basics of LINQ to Entities + Basics of LINQ to SQL o Implementing basic security best practices in .NET Applications + Basics of Code Access Security + Basics of Role-Based Security + Basics of Cryptography Services o Implementing basic service calls + Basics of creating and consuming XML Web Services + Basics of creating and consuming WCF Services o Using .NET Configuration Files o Deploying .NET Framework Applications using ClickOnce and the MS Installer * Data access experience in Windows client application development as follows: o Connect to a data source o Implement data binding o Implement data validation at the UI layer * Data access experience in Web application development as follows: o Connect to a data source o Implement dynamic data o Implement data validation at the UI layer
- Cancellation Policy
ctc TrainCanada - We Never Cancel*:
We are unique in the corporate training field in that we do not cancel desktop applications courses due to low enrollment. When there are less than 3 students, ctc TrainCanada will personalize the class (students then receive more time with the instructor to address their individual needs allowing the student to complete the full course in less time) or connect the student remotely to a class at one of our other branches via TrainLive remote classroom instruction. *Microsoft Certified Courses and other technical courses require a minimum enrollment of three students. Business Skills courses require multiple students in order to run due to the interactive nature of the training. Selected Desktop Applications courses may require a minimum enrollment of two students to run. ctc TrainCanada® reserves the right to deliver Microsoft Certified and other technical courses via TrainLive remote classroom instruction in order to guarantee the course to run.
ctc TrainCanada Cancellation policy:
You may cancel or reschedule this registration in writing with no penalty with a minimum of 10 business days' notice prior to the first day of the course. Full payment is required if you cancel or reschedule this registration within 10 business days prior to the first day of the course. However, substitutions are welcome. If you do need to cancel or reschedule a publicly scheduled course within the 10 day non-cancellation period (not a client dedicated course), payment is to be made and a training voucher for a public course will be issued to you. This allows you to attend a future date for the same course at no charge (subject to availability).
No-shows will not be issued a training voucher.
Complimentary Service: We offer all our students coffee, tea, juice or pop, muffins or pastries in the morning and cookies baked in our own oven each afternoon.
- Map & Reviews
[ View Provider's Profile ]
ReviewsHere are some reviews of the training vendor.
This course has not yet been rated by one of our members.
If you have taken a course through this vendor please log into your account and leave feedback for this vendor. You will be helping ensure our members get directed to the best training facilities.
This course currently does not have any dates scheduled. Please call 1-877-313-8881 to enquire about future dates or scheduling a private, in house course for your team.
This page has been viewed 3593 times.