Intermediate .NET Programming using VB.NET and C#

$1,200.00


  • Virtual Classroom

  • Onsite
Duration: 3 Days

In this intermediate class, take a deeper look at intermediate and advanced tools and techniques in .NET including reflection, delegates and events, and threads, and further explore ADO.NET and XML support. Learn to create custom server controls and leverage caching for performance enhancement. You'll also explore advanced techniques in working with data bound controls using ADO.NET and SQL Server.

This .NET curriculum uses v2.0 and Visual Studio.NET 2005.

What You Will Learn

 

  • Advanced OO concepts such as Aggregation, Namespaces, and Reflection
  • Delegates and Events
  • .NET's support for multithreading and thread synchronization
  • Advanced ADO.NET and XML support
  • Create and consume components and work with COM components
  • Advanced tools in VS.NET
  • Deploy applications using .Net and VS.NET

Audience

 

This course is for web development professionals creating and maintaining applications within the .NET framework.

Prerequistes

 

Course Outline

 

1. Reflection

  • Understanding Reflection
  • Using the Type Class
  • Invoking Members and Instantiating Objects

2. Delegates

  • What are Delegates?
  • Defining, Instantiating, and Invoking Delegates
  • Example: Using Delegates and Multicast Delegates

3. Events

  • Understanding Events
  • Common Existing Events
  • Creating Event Handlers to Respond To Events
  • Defining Your Own Events
  • Example: Defining and Raising Events

4. Introduction to Multi-Threaded Programming in the .NET Framework

  • What are Threads?
  • The .NET Thread Class
  • Controlling a Thread
  • Storing Thread References and GetHashCode()
  • Example: Looking At a Thread
  • Timer Threads

5. Thread Synchronization

  • The Challenge of Multi-Threaded Programming
  • Thread Synchronization
  • Method Synchronization
  • Synchronizing Collection Objects
  • Lock/SyncLock Keywords and the Monitor Class
  • Synchronizing with the ReaderWriterLock
  • Synchronization Using Events

6. Intermediate OO: Aggregation, Namespaces, and Advanced Scope

  • What is Aggregation?
  • Example: A Generator Modeled In Software
  • Namespaces
  • Advanced Access and Scope
  • Example: Our Generator in an Assembly

7. Refresher: ADO.NET Introduction

  • What is ADO.NET?
  • An Overview of Relational Database Concepts
  • What is an RDBMS?
  • The ADO.NET Object Model
  • Introducing the Database Used for the Course
  • Example: Selecting Records from the Database Using ADO.NET

8. Refresher: ADO.NET DataSets and the Disconnected Model

  • What is a DataSet?
  • Example: Selecting Records from a Database using a DataSet
  • Example: Using a DataSet with Multiple Tables

9. ADO.NET Command Class

  • What is the Command class?
  • Executing a Stored Procedure or Query
  • Passing Input Parameters to a Stored Procedure or Query

10. ADO.NET Inserts, Updates, and Deletes

  • Modifying Data

11. Introducing XML

  • What is XML?
  • XML Logical Structure
  • XML Physical Structure
  • XML Design Patterns
  • Applications of XML (and related technologies)

12. Parsing XML in .NET with the Xml Namespace

  • Overview of Classes for Parsing XML
  • Parsing XML with XmlReader Classes
  • Parsing XML with the XmlDocument Class

13. Modifying and Saving XML Using the XmlDocument

  • A Refresher on the XML DOM and the .NET XmlDocument
  • Modifying an XmlDocument
  • Example: Storing Window Positions in an XML Preferences File

14. Producing XML from Database Data via ADO.NET

  • Example: Generate and View XML from a DataSet

15. Reading XML Data into a DataSet

  • The ReadXml() Method

16. Importing XML into the Database

  • XML -> DataSet -> Database

17. Introducing Components

  • Why Are Components Useful?
  • Using Assemblies to Package and Deploy Components

Course Labs