*

Developing Data Access Solutions with Microsoft Visual Studio 2010

Developing Data Access Solutions with Microsoft Visual Studio 2010 Training

AanbiederTwice IT Training
Kosten 2.245,00
Meer informatie over Twice IT Training

Overzicht

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. After completing this course, students will be able to: o 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. o 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. o Query an Entity Data Model (EDM) by using common methods such as LINQ to Entities, Entity SQL, and the classes in the EntityClient namespace. o Perform data modification tasks on data in an EDM. o 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 . o Describe best practices for designing and building a scalable, optimized data access layer by using Object Services. o Customize and extend entities with their own business logic and use advanced mappings to shape the data model to their business and application requirements. o Reuse existing business classes in a data access layer built by using the Entity Framework. o Address the architectural issues that can arise when building an n-tier enterprise application by using the Entity Framework. o Build extensible solutions that can update data in an n-tier enterprise application by using the Entity Framework. o Access offline data or data that that has limited availability in client applications. o Design, develop, and consume a simple WCF Data Service. o Use WCF Data Services to update and delete data and to handle multi-user concerns. o Develop high performance, scalable ADO.NET applications that can query and update data. o 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. Volledige omschrijving

Bestemd voor

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: o Experience developing n-tier applications that access various data sources o Experience implementing data binding within their applications o Some experience using LINQ and ADO.NET o A conceptual understanding of the Entity Framework

Benodigde kennis

Before attending this course, students must have: o An understanding of the problem-solving techniques that apply to software development. o A basic understanding of Web, Macro and Windows scripting techniques. o A general understanding of the purpose, function, and features of the Common Language Runtime, the .NET Framework class library, the Common Type System, Component interoperation, Cross-language interoperability, Assemblies and Application domains, and Runtime hosts supported by the .NET Framework. o Experience using Visual Studio 2008. o Experience in object oriented design and development. o Experience in N-Tier application design and development. o Data access experience in Windows client application development o Data access experience in Web application development.
Inschrijven

Beschrijving

Module1: Architecture and Data Access Technologies This module describes the commonly used data access technologies and scenarios in which you are likely to use them. o Data Access Technologies o Data Access Scenarios Module2: Building Entity Data Models 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. o Introduction to Entity Data Models o Modifying the Entity Data Model o Customizing the Entity Data Model Module3: Querying Entity Data 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. o Retrieving Data by Using LINQ to Entities o Retrieving Data by Using Entity SQL o Retrieving Data by Using EntityClient Provider o Retrieving Data by Using Stored Procedures o Unit Testing Your Data Access Code Module4: Creating, Updating, and Deleting Entity Data 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. o Understanding Change Tracking in the Entity Framework o Modifying Data in an Entity Data Model Module5: Handling Multi-User Scenarios by Using Object Services 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. o Handling Concurrency in the Entity Framework o Transactional Support in the Entity Framework Module6: Building Optimized Solutions by Using Object Services 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. o The Stages of Query Execution o Change Tracking and Object Materialization o Using Compiled Queries o Using Design-Time Generated Entity Framework Views o Monitoring Performance o Performing Asynchronous Data Modifications Module7: Customizing Entities and Building Custom Entity Classes This module describes how to customize and extend entities with your own business logic. o Overriding Generated Classes o Using Templates to Customize Entities o Creating and Using Custom Entity Classes Module8: Using POCO Classes with the Entity Framework 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. o Requirements for POCO Classes o POCO Classes and Lazy Loading o POCO Classes and Change Tracking o Extending Entity Types Module9: Building an N-Tier Solution by Using the Entity Framework This module explains how to address the architectural issues that can arise when building an N-Tier enterprise application by using the Entity Framework. o Designing an N-Tier Solution o Defining Operations and Implementing Data Transport Structures o Protecting Data and Operations Module10: Handling Updates in an N-Tier Solution by Using the Entity Framework 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. o Tracking Entities and Persisting Changes o Managing Exceptions in an N-Tier Solution Module11: Building Occasionally Connected Solutions This module describes how to access offline or occasionally connected data in client applications. o Offline Data Caching by Using XML o Using the Sync Framework Module12: Querying Data by Using WCF Data Services 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. o Introduction to WCF Data Services o Creating a WCF Data Service o Consuming a WCF Data Service o Protecting Data and Operations in a WCF Data Service Module13: Updating Data by Using WCF Data Services 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. o Creating, Updating, and Deleting Data in a WCF Data Service o Preventing Unauthorized Updates and Improving Performance o Using WCF Data Services with Nonrelational Data Module14: Using ADO.NET 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. o Retrieving and Modifying Data by Using ADO.NET Commands o Retrieving and Modifying Data by Using DataSets o Managing Transactions and Concurrency in Multiuser Scenarios Module15: Using LINQ to SQL 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. o Implementing a Logical Data Model by Using LINQ to SQL o Managing Performance and Handling Concurrency