You are previewing A Programmer's Introduction to Visual Basic® .NET.
O'Reilly logo
A Programmer's Introduction to Visual Basic® .NET

Book Description

A Programmer's Introduction to Visual Basic .NET helps current Visual Basic developers identify and understand some of the major changes are between Visual Basic and Visual Basic .NET. This book also explores why developers should move to Visual Basic. Learn about the .NET framework, VB .NET VB .NET inheritance, VB .NET web services, VB .NET web applications, VB .NET Windows services, .NET Assemblies, ADO.NET and ASP.NET. Additional topics include:

  • Building Classes and Assemblies with VB.NET;

  • Building Windows Services with VB.NET;

  • Upgrading VB6 Projects to VB.NET;

  • Performance Security;

  • Configuration and Deployment.

Table of Contents

  1. Copyright
  2. About the Author
  3. Acknowledgments
  4. Tell Us What You Think!
  5. Introduction
  6. Why Should You Move to Visual Basic .NET?
    1. Visual Basic .NET: A New Framework
    2. The Common Language Runtime
    3. Managed Execution
    4. The Common Type System
    5. The .NET Framework Class Library
    6. Self-Describing Components
    7. Cross-Language Interoperability
    8. Security
    9. Summary
  7. Your First VB .NET Application
    1. The Start Page
    2. Creating a New Project
    3. Creating Your First VB .NET Application
    4. Windows Application Enhancements
    5. Summary
  8. Major VB .NET Changes
    1. General Changes
    2. New Items
    3. Summary
  9. Building Classes and Assemblies with VB .NET
    1. Creating Your First Class Library
    2. The “Final” Code
    3. Compiling the Assembly
    4. Working with Assemblies and the GAC
    5. Summary
  10. Inheritance with VB .NET
    1. What Is Inheritance?
    2. A Quick Inheritance Example
    3. Shared Members
    4. Inheritance Keywords
    5. Polymorphism
    6. A Visual Inheritance Example
    7. When to Use and When Not to Use Inheritance
    8. Summary
  11. Getting Started with ADO.NET
    1. The Importance of ADO.NET
    2. Building Simple ADO.NET Applications
    3. Objects for Disconnected Data
    4. Comparing ADO and ADO.NET
    5. Summary
  12. Upgrading VB6 Projects to VB .NET
    1. Upgrading Your First VB6 Application
    2. The Visual Basic Compatibility Library
    3. Upgrading a More Complex Example
    4. Upgrading a Component Containing ADO
    5. The Upgrade Process
    6. Helping Your VB6 Applications Upgrade
    7. Summary
  13. Building Web Applications with VB .NET and ASP.NET
    1. Your First ASP.NET Application
    2. How ASP.NET Works
    3. Server Controls
    4. Data Binding
    5. Handling Re-entrant Pages
    6. Summary
  14. Building Web Services with VB .NET
    1. Creating Your First Web Service
    2. Creating a Web Service Client
    3. Building Data-Driven Web Services
    4. How Web Services Work
    5. Summary
  15. Building Windows Services and Console Applications with VB .NET
    1. Creating Your First Windows Services Project
    2. Understanding Windows Services
    3. Building Console Applications
    4. Summary
  16. Creating Multithreaded Visual Basic .NET Applications
    1. Creating a Multithreaded Application
    2. Returning Values from Other Threads
    3. Multithreading with Forms and Controls
    4. Passing Parameters to Threads
    5. Thread Maintenance and Synchronization
    6. Summary
  17. Monitoring Performance with VB .NET
    1. Monitoring Performance
    2. Creating Your Own Performance Counters
    3. Summary
  18. Deployment and Configuration
    1. Deploying .NET Apps
    2. Configuring .NET Applications
    3. VB .NET Configuration
    4. ASP.NET Configuration
    5. Security
    6. Summary
  19. .NET Interoperability with COM
    1. Using COM Components from .NET
    2. Using .NET Components in COM Applications
    3. Calling Windows API Functions
    4. Summary
  20. Writing Code for Cross-Language Interoperability
    1. The .NET Framework Class Library
    2. Data Types and the CLS
  21. Index