ADO.NET Development



Kursarrangør: Glasspaper AS
Sted: Sør-Trøndelag, Trondheim
Sør-Trøndelag
Kursadresse: Strandveien 43, 7042 Trondheim (kart)
Type:Åpent kurs / gruppeundervisning
Studie / yrkesutdanning
Undervisningstid: Ta kontakt for informasjon
Varighet: 5 days
Pris: 26.900

We provide course about ADO.NET Development. ADO.NET is Microsofts data-access API. ADO.NET has evolved significantly since its emergence in .NET 1.0, and now offers several distinct programming models for accessing data in your applications. This course covers all of the options in detail.

Course description:
We begin with through coverage of essential concepts such as data providers, connection management, and statement execution. We then look at the disconnected data model, based on datasets, data adapters, and table adapters. A large part of the course is devoted to the Entity Framework and LINQ, where we show how to query and manipulate data in an object-oriented manner.

You will learn:
• Managing connections and executing statements
• Working with DataSets and disconnected data
• Using LINQ to query data effectively
• Querying and updating data using Entity Framework
• Working with distributed data

Course outline:
1) Connecting to a Database and Reading Data:
• Evolution of ADO.NET
• Managing connection strings
• Managing connections
• Reading data from a database
• Connection pooling
• Handling SQL exceptions

2) Executing Commands:
• Executing query and non-query commands
• Calling stored procedures
• Specifying parameters
• Asynchronous queries

3) Transactions:
• Recap of ACID transactions
• Managing local transactions
• Managing distributed transactions

4) Using ADO.NET in GUI Applications:
• Implementing a data access layer
• Binding data to WPF user interfaces
• Updating the database

5) Disconnected Data Access:
• Populating and saving a DataSet
• Adding, modifying, and deleting data in a DataSet
• Using DataViews

6) Creating and Using Typed DataSets:
• Creating a typed DataSet
• Managing data in a typed DataSet
• Adding code to a typed DataSet
• Adding queries to a typed DataSet
• Using DataSets as XML

7) Getting Started with LINQ:
• Using LINQ with arrays, collections, and DataSets
• LINQ under the hood
• LINQ techniques
• Performing joins

8) Using LINQ to SQL:
• Overview of LINQ to SQL
• Defining relations
• Generating mapping classes
• Inserting, updating, and deleting entities
• Saving changes
• Handling optimistic concurrency conflicts

9) Creating an Entity Model Using the Entity Framework:
• Overview of the Entity Framework
• Overview of entity data models
• Defining an entity data model
• Modifying an entity data model

10) Working with Data Using the Entity Framework:
• Using LINQ to Entities
• Using Entity SQL
• Modifying entities
• Attaching/detaching entities

11) Going Further with Entity Framework Mapping:
• Defining relationships
• Inheritance scenarios
• Implementing inheritance mappings

12) Entity Framework POCOs:
• Getting started with POCOs
• POCO configuration
• Working with POCO objects
• Using POCO in ASP.NET MVC

13) WCF Data Services:
• Getting started with WCF Data Services
• WCF Data Services walkthrough
• Additional considerations

14) Developing Reliable Applications:
• Using performance counters
• Handling exceptions
• Protecting data

15) Using Synchronization Services:
• Overview of Synchronization Services
• Downloading and uploading data by using Synchronization Services

Target audience:
Developers who want to write data-access code for the .NET 4.0 platform

Prerequisites:
• 3 - 6 months experience in C#
• Familiarity with database design and SQL

Language:
• The course is given in english