This intermediate class provides a deeper look at a number of intermediate and advanced tools and techniques in .NET. The class provides in-depth coverage on a number of intermediate and advanced tools and techniques in .NET including reflection, delegates and events, threads, and a deeper look at ADO.NET and XML support. For Web developers, learn to create custom server controls, and leverage caching for performance enhancement. The course also teaches advanced techniques in working with data bound controls using ADO.NET and SQL Server.
By the end of the class students will be able to:
- Understand and work with advanced OO concepts such as Aggregation, Namespaces, and Reflection
- Learn about Delegates and Events
- Learn about .NET's support for multi-threading and thread synchronization
- Learn advanced ADO.NET and XML support
- Learn how to create and consume components, and work with COM components
- Learn to work with advanced tools in VS.NET
- Learn how to deploy applications using .Net and VS.NET
660 Fundamentals of .NET Programming using VB.NET and C#
- Understanding Reflection
- Using the Type Class
- Invoking Members and Instantiating Objects
- What are Delegates?
- Defining, Instantiating, and Invoking Delegates
- Example: Using Delegates and Multicast Delegates
- Understanding Events
- Common Existing Events
- Creating Event Handlers to Respond To Events
- Defining Your Own Events
- Example: Defining and Raising Events
Introduction to Multi-Threaded Programming in the .NET Framework
- What are Threads?
- The .NET Thread Class
- Controlling a Thread
- Storing Thread References and GetHashCode()
- The Form's Invoke Method
- Example: Looking At a Thread
- Timer Threads
- 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
Intermediate OO: Aggregation, Namespaces, and Advanced Scope
- What is Aggregation?
- Example: A Generator Modeled In Software
- Advanced Access and Scope
- Example: Our Generator in an Assembly
Refresher: ADO.NET Introduction
- What is ADO.NET?
- An Overview of Relational Database Concepts
- What is an RDBMS?
- The ADO.NET Object Model
- Getting the Data Out
- The IDataReader Interface
- Introducing the Database Used for the Course
- Example: Selecting Records Using a DataReader
Refresher: ADO.NET DataSets and the Disconnected Model
- What is a DataSet?
- Accessing Data Through a DataSetís Tables and Rows
- Example: Selecting Records from a Database using a DataSet
ADO.NET Commands and Stored Procedures
- What is the Command class?
- Executing a Stored Procedure or Query
- Passing Input Parameters to a Stored Procedure or Query
ADO.NET Inserts, Updates, and Deletes
- Modifying Data
- What is XML?
- XML Logical Structure
- XML Physical Structure
- XML Design Patterns
- Applications of XML (and related technologies)
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
Advanced: 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
Producing XML from Database Data via ADO.NET
- Example: Generate and View XML from a DataSet
Reading XML Data into a DataSet
- The ReadXml() Method
Importing XML into the Database
- XML -> DataSet -> Database
Introduction to Serialization in .NET
- What is Serialization?
- Different Serialization Techniques
- Automatic Serialization with the Formatter
- Controlling What Gets Serialized
- Handling Multiple Versions, Forward and Backward
- Manual Serialization with ISerializable
Serializing To XML
- What is XML Serialization?
- Advantages and Disadvantages to XML Serialization
- Serialization of Complex and Derived Types
- Shaping the XML
- Example: An Adult MovieViewer, with a Collection
- XML Schema Definition Tool (xsd.exe)
- Why Are Components Useful?
- Using Assemblies to Package and Deploy Components
COM Interoperability With .NET
- Refresher on OLE Automation
- COM Interop
- Example: Automating Excel