Table of Contents
(NOTE: Each chapter concludes with Reviewing It, Checking It, and Applying It sections.)
I. FIRST STEPS IN VISUAL STUDIO.NET ENVIRONMENT.
1. Overview of the Environment.
Introduction. Tour of Visual Studio .NET.
2. Creating the First Application.
Introduction. Creating a New Project. A Tour of the Generated Project.
3. Compiling and Running the Application.
Building the Project. Build Messages. Building and Rebuilding. Running the Application. Under the Covers.
4. Visual Basic .NET Project Types.
Windows Application. Class Library. Windows Control Library. ASP.NET Web Application. ASP.NET Web Service. Web Control Library. Console Application. Windows Service. Empty Project. Empty Web Project.
II. LANGUAGE BASICS.
5. Language Description.
Introduction to Programming. Programming Languages. Structure of a Visual Basic Project. Identifiers, Literals, Keywords, and Whitespace. Comments.
6. Fundamental Data Types.
Numeric Data Types. Boolean Data Type. String and Char Data Types. Date Data Type. Other Data Types.
7. Data Conversion and Expressions.
Implicit Data Conversion. Explicit Data Conversion. In-place Operators. Comparison Operators. Boolean Operators. Expressions and Operator Precedence.
8. Arrays, Enumerations, and Structures. Arrays. Enumerations. Structure Declaration. Using the Structured Data Types.
9. Control Statements.
The If Statement. The Select Case Statement. The For Loop. The Do Loop. The While Loop.
10. Subroutines and Functions.
Introduction to Structured Programming. Subroutines. Functions. Scope and Lifetime.
11. Introduction to Debugging and Exception Handling.
Preparing to Debug a Program. Stepping through Code. Structured Exception Handling (SEH). Unstructured Exception Handling.
12. Microsoft .NET Framework-Assemblies and Namespaces.
Software Development Life Cycle. Assemblies. Namespaces. Useful Namespaces.
III. WORKING WITH OBJECTS.
13. Objects and Classes-Introduction to Object-Oriented Programming.
Introduction to Objects and Classes. Defining a Class in Visual Basic .NET. Class Fields. Class Constructors.
What Are Properties? The Property Statement. Using Properties. Parameterized Properties. Fields and Properties.
Class Methods Defined. Method Overloading. Using Methods.
16. Shared Class Members.
Shared Members Definition. Shared Methods. Hints and Tips Regarding Shared Members.
What Is Inheritance? Simple Inheritance. Implications of Inheritance. Multi-level Inheritance. Polymorphism. Abstract Classes. Inheritance in the .NET Framework.
What Is an Interface. Using Interfaces. Interface Inheritance. Interfaces in the .NET Framework.
Collections Basics. ArrayList. Hashtable. SortedList. Queue and Stack. NamedObjectCollectionBase-Making Your Own Collections. Tips and Hints on Using Collections.
20. Advanced OO Concepts.
Relations. Object Persistence. Development Methodologies.
IV. WORKING WITH FORMS AND CONTROLS.
21. Programming the User Interface-Fundamental Concepts.
Introduction. Proper Partitioning of Your Application Code. Single Document Interface versus Multiple Document. Interface. Controls. Menus. Events. Multilanguage Support. Supporting the Keyboard and Mouse. Fonts and Colors.
Introduction. Size and Position. Color and Background. Border Styles. Forms Designer. Docking and Anchoring. Events. Scrolling. Message Boxes. Dialog Boxes. Single Document Interface and Multiple Document. Interface.
Introduction. Control Class. Working with Controls. Examples Using Common Controls in .NET. Creating Your Own Controls.
Introduction. .Menus and Menu Items. Menu Items and Event Handlers. Menu Separators and Breaks. Enabling, Disabling, and Visibility. Mnemonics and Shortcuts. Checked Menu Items. Radio Buttons on Menus. Nested Menus. Dynamic Menus. Context Menus. Owner Drawn Menu Items. SDI, MDI, and Menus.
25. Program Flow Control in the User Interface.
Application Startup and Shutdown. Form Initialization and Termination. Form Closing. Event-Driven Programming.
26. Graphics Programming.
Introduction to Graphics in .NET. Text. Fonts. Page Units. Location and Sizing. String Alignment and Wrapping. Pens, Lines, and Rectangles. Polygons. Arcs and Ellipses. Open and Closed Curves. Images and Icons. Filling. Clipping. Advanced Features.
Introduction to Printing in .NET. Printing a Form. PrintPage Event and PrintPageEventArgs. Printing Multiple Pages. Print Preview. Creating a Custom PrintDocument Class.
28. Developing a Help System for the User Interface.
Introduction to Help in .NET. Help Class. HelpProvider Component. Context-Sensitive Help. Pop-up Help. ToolTips.
V. MANIPULATING DATA WITH AOD.NET+ AND XML.
29. Introducing Database Access with ADO.NET.
Database Basics. The .NET Framework Data Namespaces. .NET Data Providers. Server Explorer.
Using a DataSet to Read and Modify Data. Sorting and Filtering DataSets. Binding a DataSet to a Control. Multi-Table DataSets and Relations. Typed and Untyped DataSets.
31. SQL Commands.
SQL Primer. Using SqlCommands and SqlParameters.
32. XML Data Access.
Exposing XML and XML Schema from a DataSet. Writing XML and XML Schema from a DataSet. Reading XML and XML Schema into a DataSet. Synchronizing XML and DataSets.
33. Reading XML.
Overview. Loading the XML Document. Traversing XML. Finding Specific Nodes and Elements. Reading the Content.
34. Generating an XML Document.
Creating Elements and Attributes. Creating Comments. Creating Text, Writing Nodes. Saving XML Documents. XSL Transformations.
VI. DEVELOPING FOR THE WEB.
35. Introduction to Web Forms.
Fundamental Concepts. The First Web Application. Web Form Properties and Methods. Controls Used on Web Forms. The Event Model of a Web Form.
36. Developing Applications for the Web.
Data Access Using Data Bound Controls. State Management. Developing Web User Controls.
37. Web Services.
Introduction to Web Services. Example of Developing a Web Service. Attributes as a Language Extension Mechanism. Using the Web Services in a Client Application.
Appendix A. UML Crash Course.
Brief Introduction to Modeling and Design. Classes, Attributes, and Operations. Relationships.