Visual Basic® Programmer's Guide to the .NET Framework Class Library

Book description

Visual Basic Programmer's Guide to the .NET Framework Class Library is the definitive guide every Visual Basic .NET developer needs to understand the capabilities of .NET namespaces and increase productivity inside the .NET framework. Lars Powers and Mike Snell have provided a comprehensive book that details the capabilities of the key namespaces, and then explains how to leverage them by extension or reference to create applications ranging from simple to complex.

Each chapter provides a brief introduction to the selected technology, followed by detailed suggestions, reference material, and a sample application that illustrates common programming tasks using the classes, interfaces, delegates, and events of a specific .NET namespace. This book answers the primary questions that VB .NET developers will face as they start developing code in the .NET environment, including: What does the .NET class library provide me in terms of re-usable code? Are there .NET structures available that I can use to accomplish a specific task? How do I go about interfacing with the .NET framework through my code?

Visual Basic Programmer's Guide to the .NET Framework Class Library is a comprehensive guide as you learn how to use the .NET Framework classes, then it will become a trusted reference as your experience and needs grow in the world of .NET.

Table of contents

  1. Copyright
  2. Foreword
  3. Preface
  4. About the Authors
  5. About the Technical Editors
  6. Acknowledgments
  7. Tell Us What You Think!
  8. Introduction
  9. An Introduction to .NET
    1. Evolution of .NET
      1. The Composition of .NET
      2. .NET's Relevance
      3. The .NET Framework: Under the Hood
      4. Summary
    2. Evolution of VB .NET
      1. Design Goals
      2. New Language Concepts
      3. Interactive Development Environment (IDE)
      4. Summary
    3. Object-Oriented Concepts in .NET
      1. Classes—Wrapping Data and Behavior Together
      2. Inheritance—Defining Classes in Terms of One Another
      3. Polymorphism—Overriding One Class Method with Another
      4. Summary
    4. Introduction to the .NET Framework Class Library
      1. Introducing the Framework Class Library
      2. Enhancing Developer Productivity
      3. The Elements of a Namespace
      4. Programming with the Framework Class Library
      5. Summary
  10. Working with the .NET Namespaces
    1. Forms, Menus, and Controls
      1. Key Classes Related to Windows Forms
      2. Creating Forms
      3. The Form Class Hierarchy
      4. Visual Characteristics of Forms
      5. Using the Clipboard
      6. Creating Menus
      7. Working with Menu Items
      8. Handling Menu Events
      9. An Introduction to Controls
      10. Learning by Example: The EventLog Control
      11. Summary
    2. Font, Text, and Printing Operations
      1. Key Classes Related to Font, Text, and Printing Operations
      2. Font, Text, and Printing
      3. Fonts
      4. Learning by Example: FontPad, a Simple Text Editor
      5. Printing
      6. Learning by Example: Adding Printing Capabilities to FontPad
      7. Printing and Font-Related Controls and Dialog Boxes
      8. Summary
    3. Stream and File Operations
      1. Key Classes Related to File I/O
      2. Directory and File Operations
      3. Reading and Writing to Files and Streams
      4. Learning By Example: Adding Open and Save to FontPad
      5. Summary
    4. Networking Functions
      1. Key Classes Related to Network Programming
      2. Sockets
      3. A More Simplified Approach to Socket Programming
      4. Implementing a Request/Response Model
      5. Using the WebClient Class
      6. An Asynchronous Request/Response Pattern
      7. Authentication and Proxies
      8. Learning by Example: A Socket Transmitter Application
      9. Learning by Example: ISBNCrawler Application
      10. Summary
    5. Drawing Functions
      1. Key Classes Related to Drawing
      2. Drawing with the .NET Namespaces
      3. Drawing Basics
      4. Drawing Basic Shapes
      5. Filling Shapes
      6. Collections of Shapes
      7. Working with Images
      8. Transformations
      9. Learning by Example: A Forms-Based Drawing Application
      10. Summary
    6. Reading and Writing XML
      1. Key Classes Related to XML
      2. Markup Languages
      3. The Anatomy of an XML Document
      4. Parsing XML Documents
      5. Introducing the XmlNodeReader Class
      6. Writing XML Documents
      7. XML Schemas
      8. Validating XML Documents
      9. Learning by Example: The Hotel Reservations Desk
      10. Summary
    7. XSLT and XPath
      1. Key Classes Related to XSLT and XPath
      2. XSLT—Document Transformation
      3. XPath Basics
      4. XSLT Processing with .NET
      5. Working with XPath
      6. Learning by Example: ReservationsDesk 2
      7. Summary
    8. Working with Threads
      1. Key Classes Related to Threading
      2. Understanding and Applying Threads
      3. Basic Operations with Threads
      4. Understanding Thread States
      5. Avoiding Contention Issues
      6. Variables and Their Scope
      7. Learning by Example—ThreadedTimer
      8. Learning by Example: Divide and Conquer
      9. Summary
    9. Messaging
      1. Key Classes Related to Messaging
      2. Messaging
      3. Message Queues
      4. Messages
      5. Serialization
      6. Transactional Messaging
      7. Security and Encryption
      8. Learning by Example: qManager
      9. Summary
    10. Browser/Server Communications
      1. Key Classes Used for Browser/Server Communication
      2. Client Request and Server Response
      3. Determining Browser Capabilities
      4. State Management
      5. Learning by Example: MyStatus Indicator
      6. Summary
    11. Data Storage and Access
      1. Key Classes Related to Data
      2. An Overview of ADO.NET
      3. Queries and Resultsets
      4. Updating Data Directly to a Database
      5. Executing Stored Procedures
      6. Managing Cached Data and Schemas
      7. Learning by Example: DatabaseExplorer
      8. Summary
    12. Directory Services
      1. Key Classes Related to Directory Services
      2. Basics of Directory Services
      3. Active Directory Schemas
      4. Accessing Objects in the Directory
      5. Searching a Directory
      6. Learning by Example: DirectoryBrowser
      7. Summary
  11. Real-World .NET Programming
    1. Accessing COM+ Services
      1. COM+ Services
      2. Creating a Serviced Component
      3. Role-Based Security
      4. Resource Management
      5. Transaction Processing
      6. Events
      7. Asynchronous Components
      8. Summary
    2. .NET Interop with COM Applications
      1. .NET Interop with COM
      2. Calling COM from .NET Clients
      3. Calling .NET from COM Clients
      4. Interop Considerations
      5. Summary
    3. Managing Collections of Objects
      1. Managing Collections of Objects
      2. Strongly Typed Collections
      3. Summary
    4. Profiling, Debugging, and Exception Handling
      1. Handling Errors with Structured Exception Handlers
      2. Debugging and Tracing
      3. Profiling Applications
      4. Summary
    5. Globalization and Localization Techniques
      1. Globalization and Localization
      2. Working with Regional Data
      3. Resource Files
      4. Summary
    6. Deploying, Configuring, and Licensing .NET Components
      1. The Deployment Dilemma
      2. The Deployment Solution?
      3. The .NET Answer
      4. Assemblies: The Basic Unit of Deployment
      5. Deploying Private and Shared Components
      6. Deploying Assemblies into the GAC
      7. Using Application Configuration Files
      8. Licensing Your Application
      9. Summary
    7. Calling the Win32 API from Managed Code
      1. Platform Invoke
      2. Consuming API Functions
    8. Win32 API-to-Namespace Cross-Reference
    9. .NET Security Models
      1. Security Policies
      2. Code Access Security
      3. Role-Based Security
    10. .NET Framework Base Data Types
  12. Index

Product information

  • Title: Visual Basic® Programmer's Guide to the .NET Framework Class Library
  • Author(s): Lars Powers, Mike Snell
  • Release date: January 2002
  • Publisher(s): Sams
  • ISBN: 9780672322327