Visual Basic 2008 How to Program, 4/E Outline

Similar documents
Visual C# 2008 How to Program, 3/E Outline

Before You Begin. and Visual Basic 1

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at

Chapters are PDF documents posted online at the book s Companion Website (located at

Deitel Series Page How To Program Series

Contents. Illustrations. 1 Introduction to Computers, the Internet, the Web and C# 1

Contents. 1 Introduction to Computers, the Internet. Before You Begin

Contents. Before You Begin. Object Technology: A Brief Review

C# Programming: From Problem Analysis to Program Design. Fourth Edition

ощ 'ршорвшэш! цвн-эориэу ощ 'sajbpossv # PIPG DUJ 'ssjmoossv ^ PIPG pipa w н OX ЛЮН VAV

Contents. 2 Introduction to C++ Programming,

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

3 Welcome Application 41 Introduction to Visual Programming

Before You Begin 1 Graphing Application 1 Introducing Computers, the Internet and Visual Basic.NET

Subject to Change Drawing Application 1 Introducing Computers, the Internet and C#

Learning C# 3.0. Jesse Liberty and Brian MacDonald O'REILLY. Beijing Cambridge Farnham Köln Sebastopol Taipei Tokyo

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio

CHAPTER 1: INTRODUCTION TO THE IDE 3

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

Simply Visual Basic 2010

Contents. Before You Begin. Appendices M Q are PDF documents posted online at the book s Companion Website (

CHAPTER 1: INTRODUCING C# 3

Microsoft. Microsoft Visual C# Step by Step. John Sharp

Contents. 1 Introduction to Computers, the Internet and the World Wide Web 1. 2 Introduction to C Programming 26

DOT NET SYLLABUS FOR 6 MONTHS

DOT NET Syllabus (6 Months)

Variable Scope The Main() Function Struct Functions Overloading Functions Using Delegates Chapter 7: Debugging and Error Handling Debugging in Visual

Contents. 1 Introduction to Computers, the Internet and the Web 1

Beginning ASP.NET. 4.5 in C# Matthew MacDonald

Contents. Using Interpreters... 5 Using Compilers... 5 Program Development Life Cycle... 6

Visual Basic Introduction What Is acomputer? Computer Organization Early Operating Systems 5

Microsoft Visual C# Step by Step. John Sharp

Chapters and Appendices F J are PDF documents posted online at the book s Companion Website, which is accessible from.

Contents. Before You Begin. Copyright by Pearson Education, Inc. All Rights Reserved.

Introduction. Part I: Silverlight Fundamentals for ASP.NET Developers 1

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Murach s Beginning Java with Eclipse

Object-Oriented Programming in C# (VS 2015)

.NET, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p.

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

This page intentionally left blank

Contents. 1 IntroductiontoComputers,the Internetand

"Charting the Course... Java Programming Language. Course Summary

Object-Oriented Programming in C# (VS 2012)

Apex TG India Pvt. Ltd.

CHAPTER 1: VISUAL STUDIO

Deitel Series Page How To Program Series

Table of Contents. Preface... xxi

Contents. Preface. Introduction. Introduction to C Programming

C#.NET TRAINING / /

"Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary

Appendices E through H are PDF documents posted online at the book s Companion Website (located at

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#)

Microsoft Visual Studio 2010

Introduction to Programming Microsoft.NET Framework Applications with Microsoft Visual Studio 2005 (C#)

.Net. Course Content ASP.NET

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION

Course Hours

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

JAVASCRIPT FOR PROGRAMMERS

Contents. 1 Introduction to Computers, Internet and World Wide Web 1

.NET Advance Package Syllabus

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( )

C++ How To Program 10 th Edition. Table of Contents

C ONTENTS PART I FUNDAMENTALS OF PROGRAMMING 1. and Java 3. Chapter 1 Introduction to Computers, Programs,

Introduction... xxi. Chapter 1: Introducing Visual Basic In Depth... 2

JAVA CONCEPTS Early Objects

The C# Programming Language. Overview

Global edition. Java How to Program. Late Objects Version. TENTH edition. Paul Deitel Harvey Deitel

C# Programming in the.net Framework

.NET-6Weeks Project Based Training

Contents Chapter 1 Introduction to Programming and the Java Language

Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500

C# 2008 and.net Programming for Electronic Engineers - Elektor - ISBN

Cowley College & Area Vocational Technical School

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days

B.E /B.TECH DEGREE EXAMINATIONS,

Outsource. Laboratories. Introduction to Programming with Microsoft Visual Basic.NET. Outsource Laboratories Press

MyProgram m i ng Lab. get with the programming. Through the power of practice and immediate personalized

ALPHAPRIMETECH 112 New South Road, Hicksville, NY 11801

Internet & World Wide Web

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010

Contents. 1 Introduction to Computers, the Internet and Java 1. Before You Begin

[CHAPTER] 1 INTRODUCTION 1

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

VB.NET Web : Phone : INTRODUCTION TO NET FRAME WORK

Introduction to Programming Using Java (98-388)

Dot Net Online Training

Diploma in Microsoft.NET

Big Java Late Objects

2609 : Introduction to C# Programming with Microsoft.NET

CHAPTER 1 Introduction to Computers and Programming CHAPTER 2 Introduction to C++ ( Hexadecimal 0xF4 and Octal literals 031) cout Object

Developing Web Applications Using Microsoft Visual Studio 2008 SP1

Course Syllabus C # Course Title. Who should attend? Course Description

Introduction to Web Development with Microsoft Visual Studio 2010

CERTIFICATE IN WEB PROGRAMMING

Table Of Contents VISUAL BAISC 2005 FOR BEGINNERS

"Charting the Course to Your Success!" MOC B Programming in C# Course Summary

Pro Business Applications with Silverlight 4

Transcription:

vbhtp4_outline.fm Page ix Monday, December 17, 2007 4:40 PM Visual Basic 2008 How to Program, 4/E Outline ( subject to change) current as of 12/17/07. As the contents change, we ll post updates at www.deitel.com/books/vbhtp4/. 1 Introduction to Computers, the Internet and Visual Basic 1.1 Introduction 1.2 What Is a Computer? 1.3 Computer Organization 1.4 Early Operating Systems 1.5 Personal Computing, Distributed Computing and Client/Server Computing 1.6 Hardware Trends 1.7 Microsoft s Windows Operating System 1.8 Machine Languages, Assembly Languages and High-Level Languages 1.9 Visual Basic 1.10 C, C++, Java and Visual C# 1.11 Other High-Level Languages 1.12 The Internet and the World Wide Web 1.13 Extensible Markup Language (XML) 1.14 Microsoft s.net 1.15 The.NET Framework and the Common Language Runtime 1.16 Test-Driving a Visual Basic Application 1.17 (Only Required Section of the Case Study) Software Engineering Case Study: Introduction to Object Technology and the UML 1.18 Wrap-Up 1.19 Web Resources 2 Introduction to the Visual Basic Express 2008 IDE 2.1 Introduction 2.2 Overview of the Visual Studio 2008 IDE 2.3 Menu Bar and Toolbar 2.4 Navigating the Visual Studio IDE 2.4.1 Solution Explorer 2.4.2 Toolbox 2.4.3 Properties Window 2.5 Using Help

vbhtp4_outline.fm Page x Monday, December 17, 2007 4:40 PM x 2.6 Using Visual Programming to Create a Simple Program that Displays Text and an Image 2.7 Wrap-Up 2.8 Web Resources 3 Introduction to Visual Basic Programming 3.1 Introduction 3.2 Displaying a Line of Text 3.3 Creating Your First Console Application in Visual Basic Express 3.4 Displaying a Single Line of Text with Multiple Statements 3.5 Adding Integers 3.6 Memory Concepts 3.7 Arithmetic 3.8 Decision Making: Equality and Relational Operators 3.9 Using a Message Dialog to Display a Message 3.10 (Optional) Software Engineering Case Study: Examining the ATM Requirements Document 3.11 Wrap-Up 3.12 Web Resources 4 Introduction to Classes and Objects 4.1 Introduction 4.2 Classes, Objects, Methods and Instance Variables 4.3 Declaring a Class with a Method and Instantiating an Object of a Class 4.4 Declaring a Method with a Parameter 4.5 Instance Variables and Properties 4.6 Value Types and Reference Types 4.7 Initializing Objects with Constructors and Object Initializers 4.8 Validating Data with Set Accessors in Properties 4.9 (Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements Document 4.10 Wrap-Up 5 Control Statements: Part 1 5.1 Introduction 5.2 Algorithms 5.3 Pseudocode 5.4 Control Structures 5.5 If Then Selection Statement 5.6 If Then Else Selection Statement 5.7 While Repetition Statement 5.8 Do While Loop Repetition Statement 5.9 Do Until Loop Repetition Statement

vbhtp4_outline.fm Page xi Monday, December 17, 2007 4:40 PM xi 5.10 Compound Assignment Operators 5.11 Formulating Algorithms: Case Study 1 (GradeBook with Counter-Controlled Repetition) 5.12 Formulating Algorithms with Top-Down, Stepwise Refinement: Case Study 2 (GradeBook with Sentinel-Controlled Repetition) 5.13 Formulating Algorithms with Top-Down, Stepwise Refinement: Case Study 3 (Nested Control Statements) 5.14 Formulating Algorithms with Top-Down, Stepwise Refinement: Case Study 4 (Nested Repetition Statements) 5.15 Visual Basic Programming in a Windows Application 5.16 (Optional) Software Engineering Case Study: Identifying Class Attributes in the ATM System 5.17 Wrap-Up 6 Control Statements: Part 2 6.1 Introduction 6.2 Essentials of Counter-Controlled Repetition 6.3 For Next Repetition Statement 6.4 Examples Using the For Next Statement 6.5 GradeBook Case Study: Select Case Multiple-Selection Statement 6.6 Do Loop While Repetition Statement 6.7 Do Loop Until Repetition Statement 6.8 Using the Exit Statement in Repetition Statements 6.9 Using the Continue Statement in Repetition Statements 6.10 Logical Operators 6.11 (Optional) Software Engineering Case Study: Identifying Objects States and Activities in the ATM System 6.12 Wrap-Up 6.13 Structured Programming Summary 7 Methods: A Deeper Look 7.1 Introduction 7.2 Modules, Classes and Methods 7.3 Subroutines: Methods That Do Not Return a Value 7.4 Functions: Methods That Return a Value 7.5 Shared Methods and Class Math 7.6 GradeBook Case Study: Declaring Methods with Multiple Parameters 7.7 Notes on Declaring and Using Methods 7.8 Method Call Stack and Activation Records 7.9 Implicit Argument Conversions 7.10 Option Strict and Data-Type Conversions 7.11 Value Types and Reference Types 7.12 Framework Class Library Namespaces 7.13 Passing Arguments: Pass-by-Value vs. Pass-by-Reference

vbhtp4_outline.fm Page xii Monday, December 17, 2007 4:40 PM xii 7.14 Scope of Declarations 7.15 Case Study: Random Number Generation 7.16 Case Study: A Game of Chance 7.17 Method Overloading 7.18 Optional Parameters 7.19 Recursion 7.20 (Optional) Software Engineering Case Study: Identifying Class Operations in the ATM System 7.21 Wrap-Up 8 Arrays 8.1 Introduction 8.2 Arrays 8.3 Declaring and Allocating Arrays 8.4 Examples Using Arrays 8.4.1 Allocating an Array 8.4.2 Initializing the Values in an Array 8.4.3 Summing the Elements of an Array 8.4.4 Using Arrays to Analyze Survey Results 8.4.5 cusing Bar Charts to Display Array Data Graphically 8.4.6 Using the Elements of an Array as Counters 8.5 Case Study: Card Shuffling and Dealing Simulation 8.6 Passing an Array to a Method 8.7 For Each Next Repetition Statement 8.8 GradeBook Case Study: Using an Array to Store Grades 8.9 Sorting an Array with Method Sort of Class Array 8.10 Searching Arrays 8.10.1 Searching an Array with Linear Search 8.10.2 Searching a Sorted Array with Method BinarySearch of Class Array 8.11 Rectangular Arrays 8.12 GradeBook Case Study: Using a Rectangular Array 8.13 Variable-Length Parameter Lists 8.14 Jagged Arrays 8.15 Using the ReDim Statement to Change the Size of an Array at Execution Time 8.16 Passing Arrays: ByVal vs. ByRef 8.17 (Optional) Software Engineering Case Study: Collaboration Among Objects in the ATM System 8.18 Wrap-Up 9 Introduction to LINQ 9.1 Introduction 9.2 LINQ Query Keywords

vbhtp4_outline.fm Page xiii Monday, December 17, 2007 4:40 PM xiii 9.3 Implicitly Typed Local Variables and Arrays 9.4 Using LINQ with Strings 9.5 Using LINQ with Arrays 9.6 Sorting with LINQ 9.7 Searching with LINQ 9.8 Wrap-Up 10 Classes and Objects: A Deeper Look 10.1 Introduction 10.2 Time Class Case Study 10.3 Class Scope 10.4 Default and Parameterless Constructors 10.5 Time Class Case Study: Overloaded Constructors 10.6 Partial Classes 10.7 Composition 10.8 Using the Me Reference to Access the Current Object 10.9 Garbage Collection 10.10 Shared Class Members 10.11 Const and ReadOnly Members 10.12 Object Browser 10.13 Partial Classes and Partial Methods 10.14 Delegates 10.15 Lambda Expressions 10.16 Extension Methods 10.17 Anonymous Types 10.18 (Optional) Software Engineering Case Study: Starting to Program the Classes of the ATM System 10.19 Wrap-Up 11 Object-Oriented Programming: Inheritance 11.1 Introduction 11.2 Base Classes and Derived Classes 11.3 Protected Members 11.4 Relationship between Base Classes and Derived Classes 11.4.1 Creating and Using a CommissionEmployee Class 11.4.2 Creating a BasePlusCommissionEmployee Class without Using Inheritance 11.4.3 Creating a CommissionEmployee BasePlusCommissionEmployee Inheritance Hierarchy 11.4.4 CommissionEmployee BasePlusCommissionEmployee Inheritance Hierarchy Using Protected Instance Variables 11.4.5 CommissionEmployee BasePlusCommissionEmployee Inheritance Hierarchy Using Private Instance Variables 11.5 Constructors in Derived Classes

vbhtp4_outline.fm Page xiv Monday, December 17, 2007 4:40 PM xiv 11.6 Software Engineering with Inheritance 11.7 Class Object 11.8 Friend Members 11.9 Wrap-Up 12 Object-Oriented Programming: Polymorphism 12.1 Introduction 12.2 Polymorphic Video Game 12.23 Demonstrating Polymorphic Behavior 12.4 Abstract Classes and Methods 12.5 Case Study: Payroll System Class Hierarchy Using Polymorphism 12.5.1 Creating Abstract Base Class Employee 12.5.2 Creating Concrete Derived Class SalariedEmployee 12.5.3 Creating Concrete Derived Class HourlyEmployee 12.5.4 Creating Concrete Derived Class CommissionEmployee 12.5.5 Creating Indirect Concrete Derived Class BasePlusCommissionEmployee 12.5.6 Demonstrating Polymorphic Processing, Expression TypeOf Is, TryCast and Downcasting 12.5.7 Summary of the Allowed Assignments between Base Class and Derived Class Variables 12.6 NotOverridable Methods and NotInheritable Classes 12.7 Case Study: Creating and Using Interfaces 12.7.1 Developing an IPayable Hierarchy 12.7.2 Declaring Interface IPayable 12.7.3 Creating Class Invoice 12.7.4 Modifying Class Employee to Implement Interface IPayable 12.7.5 Modifying Class SalariedEmployee for Use in the IPayable Hierarchy 12.7.6 Using Interface IPayable to Process Invoices and Employees Polymorphically 12.7.7 Common Interfaces of the.net Class Library 12.8 (Optional) Software Engineering Case Study: Incorporating Inheritance and Polymorphism into the ATM System 12.9 Wrap-Up 13 Exception Handling 13.1 Introduction 13.2 Exception Handling Overview 13.3 Example: Divide by Zero Without Exception Handling 13.4 Example: Handling DivideByZeroExceptions and FormatExceptions 13.4.1 Enclosing Code in a Try Block 13.4.2 Catching Exceptions 13.4.3 Uncaught Exceptions 13.4.4 Termination Model of Exception Handling

vbhtp4_outline.fm Page xv Monday, December 17, 2007 4:40 PM xv 13.4.5 Flow of Control When Exceptions Occur 13.5.NET Exception Hierarchy 13.5.1 Classes ApplicationException and SystemException 13.5.2 Determining Which Exceptions a Method Throws 13.6 Finally Block 13.7 Exception Properties 13.8 User-Defined Exception Classes 13.9 Wrap-Up 14 Graphical User Interfaces with Windows Forms 14.1 Introduction 14.2 Windows Forms 14.3 Event Handling 14.3.1 A Simple Event-Driven GUI 14.3.2 Another Look at the Visual Studio Generated Code 14.3.3 Delegates and the Event-Handling Mechanism 14.3.4 Other Ways to Create Event Handlers 14.3.5 Locating Event Information 14.4 Control Properties and Layout 14.5 Labels, TextBoxes and Buttons 14.6 GroupBoxes and Panels 14.7 CheckBoxes and RadioButtons 14.8 PictureBoxes 14.9 ToolTips 14.10 NumericUpDown Control 14.11 Mouse-Event Handling 14.12 Keyboard-Event Handling 14.13 ComboBox Control 14.14 TreeView Control 14.15 Menus 14.16 Multiple Document Interface (MDI) Windows 14.17 Visual Inheritance 14.18 User-Defined Controls 14.19 Wrap-Up 15 Graphical User Interfaces with Windows Presentation Foundation (WPF) and XAML 15.1 Introduction 15.2 Windows Presentation Foundation 15.3 XAML 15.4 Event Handling 15.5 Controls, Control Properties and Layout 15.6 Windows and Menus 15.7 Intermixing Windows Forms and WPF

vbhtp4_outline.fm Page xvi Monday, December 17, 2007 4:40 PM xvi 15.8 Wrap-Up 16 Windows Presentation Foundation (WPF) Graphics and Multimedia 16.1 Introduction 16.2 Shapes 16.3 Colors 16.4 Fonts 16.5 Advanced Graphics Capabilities 16.6 Introduction to Multimedia 16.7 Loading, Displaying and Scaling Images 16.8 Audio and Video 16.9 Animation 16.10 Wrap-Up 17 Strings, Characters and Regular Expressions 17.1 Introduction 17.2 Fundamentals of Characters and Strings 17.3 String Constructors 17.4 String Indexer, Length Property and CopyTo Method 17.5 Comparing Strings 17.6 Locating Characters and Substrings in Strings 17.7 Extracting Substrings from Strings 17.8 Concatenating Strings 17.9 Miscellaneous String Methods 17.10 Class StringBuilder 17.11 Length and Capacity Properties, EnsureCapacity Method and Indexer of Class StringBuilder 17.12 Append and AppendFormat Methods of Class StringBuilder 17.13 Insert, Remove and Replace Methods of Class StringBuilder 17.14 Char Methods 17.15 Card Shuffling and Dealing Simulation 17.16 Regular Expressions and Class 17.16.1 Regular Expression Example 17.16.2 Validating User Input with Regular Expressions 17.16.3 Regex methods Replace and Split 17.17 Wrap-Up 18 Files and Streams 18.1 Introduction 18.2 Data Hierarchy 18.3 Files and Streams

vbhtp4_outline.fm Page xvii Monday, December 17, 2007 4:40 PM xvii 18.4 My.Computer.FileSystem Object 18.5 Creating a Sequential-Access File 18.6 Reading Data from a Sequential-Access File 18.7 Using LINQ to Objects with Files 18.8 Wrap-Up 19 Extensible Markup Language (XML) and LINQ to XML 19.1 Introduction 19.2 XML Basics 19.3 Structuring Data 19.4 XML Namespaces 19.5 Document Type Definitions (DTDs) 19.6 W3C XML Schema Documents 19.7 Extensible Stylesheet Language and XSL Transformations 19.8 Document Object Model (DOM) 19.10 XML Manipulation with LINQ to XML 19.11 XML Literals and XML Properties 19.11 Wrap-Up 19.12 Web Resources 20 Databases, LINQ to SQL and LINQ to DataSets 20.1 Introduction 20.2 Relational Databases 20.3 Relational Database Overview: Books Database 20.4 SQL 20.4.1 Basic SELECT Query 20.4.2 WHERE Clause 20.4.3 ORDER BY Clause 20.4.4 Merging Data from Multiple Tables: INNER JOIN 20.4.5 INSERT Statement 20.4.6 UPDATE Statement 20.4.7 DELETE Statement 20.5 LINQ to SQL 20.6 Extracting Information from a Database 20.6.1 Displaying a Database Table in a DataGridView 20.6.2 How Data Binding Works 20.7 Querying the Books Database 20.8 Address Book Case Study 20.9 Processing a DataSet with LINQ to DataSets 20.19 Wrap-Up 20.11 Web Resources

vbhtp4_outline.fm Page xviii Monday, December 17, 2007 4:40 PM xviii 21 ASP.NET and ASP.NET Ajax 21.1 Introduction 21.2 Simple HTTP Transactions 21.3 Multitier Application Architecture 21.4 Creating and Running a Simple Web-Form Example 21.4.1 Examining an ASPX File 21.4.2 Examining a Code-Behind File 21.4.3 Relationship Between an ASPX File and a Code-Behind File 21.4.4 How the Code in an ASP.NET Web Page Executes 21.4.5 Examining the XHTML Generated by an ASP.NET Application 21.4.6 Building an ASP.NET Web Application 21.5 Web Controls 21.5.1 Text and Graphics Controls 21.5.2 AdRotator Control 21.5.3 Validation Controls 21.6 Session Tracking 21.6.1 Cookies 21.6.2 Session Tracking with HttpSessionState 21.7 Case Study: Connecting to a Database in ASP.NET 21.7.1 Building a Web Form That Displays Data from a Database 21.7.2 Modifying the Code-Behind File for the Guestbook Application 21.8 Case Study: Secure Books Database Application 21.8.1 Examining the Completed Secure Books Database Application 21.8.2 Creating the Secure Books Database Application 21.9 ASP.NET Ajax and the Microsoft Ajax Libraries 21.10 Wrap-Up 21.11 Web Resources 22 Web Services and Windows Communication Foundation (WCF) 22.1 Introduction 22.2.NET Web Services Basics 22.2.1 Creating a Web Service in Visual Web Developer 22.2.2 Discovering Web Services 22.2.3 Determining a Web Service s Functionality 22.2.4 Testing a Web Service s Methods 22.2.5 Building a Client to Use a Web Service 22.3 Simple Object Access Protocol (SOAP) 22.4 Publishing and Consuming Web Services 22.4.1 Defining the HugeInteger Web Service 22.4.2 Building a Web Service in Visual Web Developer 22.4.3 Deploying the HugeInteger Web Service 22.4.4 Creating a Client to Consume the HugeInteger Web Service 22.4.5 Consuming the HugeInteger Web Service

vbhtp4_outline.fm Page xix Monday, December 17, 2007 4:40 PM xix 22.5 Session Tracking in Web Services 22.5.1 Creating a Blackjack Web Service 22.5.2 Consuming the Blackjack Web Service 22.6 Using Web Forms and Web Services 22.6.1 Adding Data Components to a Web Service 22.6.2 Creating a Web Form to Interact with the Airline Reservation Web Service 22.7 User-Defined Types in Web Services 22.9 REST-Based Web Services 22.9.1 REST-Based Web Service Functionality 22.9.2 Creating a REST-Based Web Service 22.9.3 Adding Data Components to a Web Service 22.8 Wrap-Up 22.9 Web Resources 23 Microsoft Silverlight and Rich Internet Applications 23.1 Introduction 23.2 Platform Overview 23.3 Silverlight 1.0 Installation and Overview 23.4 Creating a Movie Viewer for Silverlight 1.0 23.4.1 Creating a User Interface In XAML Using Expression Blend 23.4.2 Using Storyboards 23.4.3 Creating Controls 23.4.4 Using JavaScript for Event Handling and DOM Manipulation 23.5 Embedding Silverlight in HTML 23.6 Silverlight Streaming 23.7 Silverlight 1.1 Installation and Overview 23.8 Creating a Cover Viewer for Silverlight 1.1 Alpha 23.9 Building an Application with Third-Party Controls 23.10 Consuming a Web Service 23.10.1 Consuming the HugeInteger Web Service 23.11 Silverlight Demos, Games and Web Resources 23.12 Wrap-Up 24 Data Structures 24.1 Introduction 24.2 Simple-Type Structures, Boxing and Unboxing 24.3 Self-Referential Classes 24.4 Linked Lists 24.5 Stacks 24.6 Queues 24.7 Trees 24.7.1 Binary Search Tree of Integer Values

vbhtp4_outline.fm Page xx Monday, December 17, 2007 4:40 PM xx 24.7.2 Binary Search Tree of IComparable Objects 24.8 Wrap-Up 25 Generics 25.1 Introduction 25.2 Motivation for Generic Methods 25.3 Generic Method Implementation 25.4 Type Constraints 25.5 Overloading Generic Methods 25.6 Generic Classes 25.7 Multiple Constraints 25.8 Notes on Generics and Inheritance 25.9 Wrap-Up 26 Collections 26.1 Introduction 26.2 Collections Overview 26.3 Class Array and Enumerators 26.4 Non-Generic Collections 26.4.1 Class ArrayList 26.4.2 Class Stack 26.4.3 Class Hashtable 26.5 Generic Collections 26.5.1 Generic Class SortedDictionary 26.5.2 Generic Class LinkedList 26.6 Using LINQ to Objects with Collections 26.7 Synchronized Collections 26.8 Wrap-Up A Operator Precedence Chart B Primitive Types C Number Systems C.1 Introduction C.2 Abbreviating Binary Numbers as Octal and Hexadecimal Numbers C.3 Converting Octal and Hexadecimal Numbers to Binary Numbers C.4 Converting from Binary, Octal or Hexadecimal to Decimal C.5 Converting from Decimal to Binary, Octal or Hexadecimal C.6 Negative Binary Numbers: Two s Complement Notation

vbhtp4_outline.fm Page xxi Monday, December 17, 2007 4:40 PM xxi D Using the Visual Studio Debugger D.1 Introduction D.2 Breakpoints and the Continue Command D.3 The Locals and Watch Windows D.4 Controlling Execution Using the Step Into, Step Over, Step Out and Continue Commands D.5 Other Features D.5.1 Edit and Continue D.5.2 Exception Assistant D.5.3 Just My Code Debugging D.5.4 Other New Debugger Features D.6 Wrap-Up E ATM Case Study Code E.1 ATM Case Study Implementation E.2 Class ATM E.3 Class Screen E.4 Class Keypad E.5 Class CashDispenser E.6 Class DepositSlot E.7 Class Account E.8 Class BankDatabase E.9 Class Transaction E.10 Class BalanceInquiry E.11 Class Withdrawal E.12 Class Deposit E.13 Class ATMCaseStudy E.14 Wrap-Up F UML 2: Additional Diagram Types F.1 Introduction F.2 Additional Diagram Types G ASCII Character Set H Unicode H.1 Introduction H.2 Unicode Transformation Formats H.3 Characters and Glyphs H.4 Advantages/Disadvantages of Unicode H.5 Using Unicode

vbhtp4_outline.fm Page xxii Monday, December 17, 2007 4:40 PM xxii H.6 Character Ranges

vbhtp4_outline.fm Page xxiii Monday, December 17, 2007 4:40 PM xxiii New Visual Basic 9.0 &.NET 3.5 Features Covered in this Edition Chapter 4, Introduction to Classes and Objects 1. Object initializers Shorthand notation for initializing an object, similar to an array initializer. Chapter 9, Introduction to LINQ 2. New chapter that introduces LINQ and demonstrates using LINQ to Objects to perform array manipulations. 3. Implicitly Typed Local Variables and Arrays Visual Basic can infer the type of a variable from the initializer expression that you assign to the variable. Chapter 10, Classes and Objects: A Deeper Look 4. Anonymous Types A convenient way to encapsulate a set of read-only properties into a single object without having to first explicitly define a type. 5. Partial Classes and Partial Methods Provides a more formal introduction to partial classes from C# 2.0 and introduces partial methods from C# 3.0. 6. Delegates (possibly a new chapter) Provides a more formal introduction to delegates. 7. Lambda Expressions This would follow delegates because this is a new mechanism to make delegate programming easier. 8. Extension Methods A new type of static method for adding functionality to an existing class without creating a new subclass. Chapter 15, Graphical User Interfaces with Windows Presentation Foundation and XAML 9. New chapter that shows how to build GUIs with WPF and XAML. Demonstrates intermixing WPF and Windows Forms. Chapter 16, Windows Presentation Foundation (WPF) Graphics and Multimedia 10. New chapter that shows how to use graphics and multimedia with WPF and XAML. Chapter 18, Files and Streams 11. New section on using LINQ to Objects with files.

vbhtp4_outline.fm Page xxiv Monday, December 17, 2007 4:40 PM xxiv Chapter 19, XML and LINQ to XML 12. Introduces LINQ to XML and replaces all.net 2.0 and earlier XML processing with LINQ to XML. 13. Introduces Visual Basic s new XML literals, XML namespace and XML Member capabilities. Chapter 20, Databases, LINQ to SQL and Link to DataSets 14. Now introduces LINQ to SQL and LINQ to DataSets and replaces all ADO.NET 2.0 database manipulating with LINQ. Chapter 21, ASP.NET and ASP.NET Ajax 15. Now includes coverage of ASP.NET Ajax and the Microsoft Ajax Library. Chapter 22, Web Services and Windows Communication Foundation (WCF) 16. Introduces WCF and shows how to build and consume WCF-based web services. Chapter 23, Microsoft Silverlight and Rich Internet Applications 17. Introduces Microsoft s Silverlight web browser plug-in and how to develop rich internet applications for it using C#,.NET and XAML.