You are previewing Application Development Using Visual Basic® and .NET.
O'Reilly logo
Application Development Using Visual Basic® and .NET

Book Description

Build industrial-strength .NET applications with Visual Basic.

  • Experienced programmers: Quickly come up to speed on the new, powerful Visual Basic .NET

  • Practical, hands-on coverage of the .NET Framework, CLR, ADO.NET, ASP.NET, Web services, security, interoperability, and more

  • Running case study: see how concepts work together when you build .NET applications

This book gives experienced developers the practical insight they need to build enterprise applications using Visual Basic .NET. Using extensive code examples and a running case study, the authors illuminate the .NET concepts and technologies that offer developers the greatest power and value. They cover the entire process of constructing a .NET application: developing a simple .NET console application; adding a Windows Forms interface; isolating functionality within components; providing database access via ADO.NET; securing your code; and using ASP.NET to create Web applications and services.

  • .NET Framework and Common Language Runtime fundamentals for experienced programmers

  • Key .NET features: interfaces, attributes, collections, I/O, threading, remoting, and more

  • In-depth coverage of ADO.NET, ASP.NET Web Forms, and Web services

  • Advanced user interface programming with Windows Forms and GDI+

  • Assemblies, component deployment, and versioning

  • Ensuring interoperability with diverse and legacy systems

  • Includes a self-contained Visual Basic .NET overview for those new to the language

Part of The Integrated .NET Series from Object Innovations and Prentice Hall PTR.

Table of Contents

  1. Copyright
  2. Preface
  3. .NET Architecture Overview
    1. What Is Microsoft .NET?
      1. Microsoft and the Web
      2. Windows on the Desktop
      3. A New Programming Platform
      4. The Role of XML
      5. VB.NET and the .NET Framework
      6. Summary
    2. .NET Fundamentals
      1. Problems of Windows Development
      2. Applications of the Future
      3. .NET Overview
      4. Summary
  4. VB.NET Language
    1. VB.NET Essentials, Part I
      1. Visual Studio .NET and Console Applications
      2. Hello World in VB.NET
      3. Performing Calculations in VB.NET
      4. Classes
      5. VB.NET Type System
      6. Summary
    2. VB.NET Essentials, Part II
      1. Strings
      2. Arrays and Parameterized Properties
      3. More about Methods
      4. Optional Parameters
      5. VB.NET Utility Functions
      6. Command-Line Arguments
      7. Summary
    3. Inheritance and Exceptions in VB.NET
      1. Review of Object-Oriented Concepts
      2. Acme Travel Agency Case Study: Design
      3. Inheritance in VB.NET
      4. Access Control
      5. Acme Travel Agency Case Study: Implementation
      6. More about Inheritance
      7. Exceptions
      8. Summary
    4. VB.NET in the .NET Framework
      1. System.Object
      2. Collections
      3. Interfaces
      4. Resolving Ambiguity in Interfaces
      5. Acme Travel Agency Case Study: Step 2
      6. Generic Interfaces in .NET
      7. Delegates
      8. Events
      9. Attributes
      10. Summary
  5. Fundamentals of Windows Forms
    1. Windows Forms
      1. Windows Forms Hierarchy
      2. Windows Applications Using the .NET SDK
      3. Windows Forms Event Handling
      4. Visual Studio .NET and Forms
      5. Under the Hood of a VS.NET Windows Application
      6. Dialog Boxes
      7. Controls
      8. Using a CheckBox
      9. Using List Controls (ListBox and ComboBox)
      10. Summary
    2. Using Controls
      1. Menus
      2. Toolbars
      3. Status Bars
      4. Calendar Controls
      5. Range Controls
      6. List Controls
      7. DataGrid Control
      8. TreeView Control
      9. Common Dialog Controls
      10. Summary
  6. Fundamentals of the .NET Framework
    1. Assemblies and Deployment
      1. Components
      2. Assemblies
      3. Private Assembly Deployment
      4. Shared Assembly Deployment
      5. Assembly Configuration
      6. Multi-Module Assemblies
      7. Setup and Deployment Projects
      8. Summary
    2. .NET Framework Classes
      1. Metadata and Reflection
      2. Input and Output in .NET
      3. Serialization
      4. .NET Application Model
      5. Context
      6. Application Isolation
      7. Asynchronous Programming
      8. Remoting
      9. Custom Attributes
      10. Garbage Collection and Finalization
      11. Summary
  7. Advanced UI Programming Using VB.NET
    1. Introduction to GDI+
      1. Device-Independent Graphics and Abstraction
      2. GDI+ Architecture
      3. GDI+ Structures
      4. Pens and Brushes
      5. A Drawing Program
      6. Clipping Rectangle
      7. Bitmaps and Metafile
      8. GDI+ Memory Management
      9. Text and Fonts
      10. Scrolling
      11. Summary
    2. Advanced Windows Forms
      1. Modeless Dialogs
      2. MDI Applications
      3. Visual Inheritance
      4. ActiveX Controls
      5. Summary
  8. .NET Applications
    1. Programming with ADO.NET
      1. A Visual Studio .NET Database Testbed
      2. ADO.NET Architecture
      3. Connected Data Access
      4. Parameters and Stored Procedures
      5. SqlDataAdapter and the DataSet Class
      6. DataSet Fundamentals
      7. Database Transactions and Updates
      8. Optimistic Versus Pessimistic Locking and the DataSet
      9. Working with DataSets
      10. Acme Travel Agency Case Study
      11. XML Data Access
      12. AirlineBrokers Database
      13. Schema with Relationships
      14. Typed DataSet
      15. Summary
    2. ASP.NET and Web Forms
      1. What Is ASP.NET?
      2. Web Forms Architecture
      3. Request/Response Programming
      4. Web Applications Using Visual Studio .NET
      5. Acme Travel Agency Case Study
      6. ASP.NET Applications
      7. State in ASP.NET Applications
      8. ASP.NET Configuration
      9. Server Controls
      10. Database Access in ASP.NET
      11. Summary
    3. Web Services
      1. Protocols
      2. Web Service Architecture
      3. SOAP Differences
      4. WebService Class and Visual Studio
      5. Hotel Broker Web Services (Case Study)
      6. Summary
    4. Security
      1. User-Based Security
      2. Code Access Security
      3. Internet Security
      4. Role-Based Security in .NET
      5. Forms-Based Authentication
      6. Code Access Permissions
      7. Code Identity
      8. Security Policy
      9. Summary
    5. Interoperability
      1. Calling COM Components from Managed Code
      2. Calling Managed Components from a COM Client
      3. Platform Invocation Services (PInvoke)
      4. Summary
    6. Visual Studio .NET
      1. Overview of Visual Studio .NET
      2. Creating a Console Application
      3. Project Configurations
      4. Debugging
      5. Summary
    7. Tracing and Debugging in .NET
      1. The TraceDemo Example
      2. Enabling Debug and Trace Output
      3. Using the Debug and Trace Classes
      4. Using Switches to Enable Diagnostics
      5. Enabling or Disabling Switches
      6. TraceListener
      7. Listeners Collection
      8. Summary
  9. Index