Intermediate .NET Programming using VB.NET and C#
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.
This course is the first part of two PB Tech Capstone Series courses: PB Tech Capstone Series: Advanced .NET Web Programming and PB Tech Capstone Series: Advanced .NET Programming. PB Tech's Capstone Series courses are project-based and provide hands-on experience to gain practical knowledge of course topics. To take advantage of the Capstone concept, students interested in this course should also enroll in Advanced .NET Programming or Web Services with ASP.NET. If you attend both Intermediate .NET Programming using VB.NET and C# and either Advanced .NET Programming or Web Services with ASP.NET, and complete the Capstone project, you will receive the PB Tech Capstone certificate, along with real-world sample code. Both sets of courses are delivered within the same week.
What You'll 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
Who Needs to Attend
This course is for web development professionals creating and maintaining applications within the .NET framework.
- 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
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
- 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