Programming Visual Basic .NET (Paperback)

Dave Grundgeiger

  • 出版商: O'Reilly
  • 出版日期: 2001-12-11
  • 定價: $1,400
  • 售價: 2.1$299
  • 語言: 英文
  • 頁數: 446
  • 裝訂: Paperback
  • ISBN: 0596000936
  • ISBN-13: 9780596000936
  • 相關分類: .NETVisual Basic
  • 立即出貨(限量) (庫存=2)

買這商品的人也買了...

商品描述

Programming Visual Basic .NET is the complete guide to application development using Visual Basic .NET. Targeted at programmers with some prior programming experience, the book covers the major areas of application development for Microsoft's new .NET platform.

After starting with the traditional "hello world" application, the book discusses the two basic building blocks of any .NET application built with Visual Basic--the Visual Basic .NET programming language and the .NET Framework.

Topics covered include:

  • Visual Basic language elements
  • Visual Basic's object-oriented language features
  • Programming with attributes
  • The Common Language Runtime
  • Garbage Collection and the Finalize and Dispose methods
  • Programmatically reading from and writing to .NET configuration files


The remainder of the book focuses on the three major kinds of applications that can be developed with the .NET Framework: Windows Forms applications, ASP.NET applications, and web services. In each case, the book shows you how to build an application using Visual Studio .NET as well as using a text editor and the Visual
Basic command-line compiler. This gives you an "under the hood" look at what Visual Studio is doing and allows you to gain a greater understanding of how a .NET application works--an understanding that you can take advantage of in building your own applications. Individual development topics covered in these chapters include:

  • Developing Multiple Document Interface (MDI) Windows Forms applications.
  • Handling form and control placement and resizing
  • Working with Windows Forms menus
  • Working with Windows Common Dialogs
  • Taking advantage of .NET printer services programmatically
  • Using ASP.NET HTML controls and Web controls
  • Understanding security in ASP.NET
  • Creating, discovering, and consuming web services
  • Accessing data in your .NET applications using ADO.NET


Published just in time for the first release of Visual Studio .NET,Programming Visual Basic .NET is sure to become a key component of developers' .NET libraries

Table of Contents

Preface

1. Introduction
     What Is the Microsoft .NET Framework?
     What Is Visual Basic .NET?
     An Example Visual Basic .NET Program

2. The Visual Basic .NET Language
     Source Files
     Identifiers
     Keywords
     Literals
     Types
     Namespaces
     Symbolic Constants
     Variables
     Scope
     Access Modifiers
     Assignment
     Operators and Expressions
     Statements
     Classes
     Interfaces
     Structures
     Enumerations
     Exceptions
     Delegates
     Events
     Standard Modules
     Attributes
     Conditional Compilation
     Summary

3. The .NET Framework
     Common Language Infrastructure (CLI) and Common Language Runtime (CLR)
     Common Type System (CTS)
     Portions of the CLI
     Modules and Assemblies
     Application Domains
     Common Language Specification (CLS)
     Intermediate Language (IL) and Just-In-Time (JIT) Compilation
     Metadata
     Memory Management and Garbage Collection
     A Brief Tour of the .NET Framework Namespaces
     Configuration
     Summary

4. Windows Forms I: Developing Desktop Applications
     Creating a Form
     Handling Form Events
     Relationships Between Forms
     MDI Applications
     Component Attributes
     2-D Graphics Programming with GDI+
     Printing
     Summary

5. Windows Forms II: Controls, Common Dialog Boxes, and Menus
     Common Controls and Components
     Control Events
     Form and Control Layout
     Common Dialog Boxes
     Menus
     Creating a Control
     Summary

6. ASP.NET and Web Forms: Developing Browser-Based Applications
     Creating a Web Form
     Handling Page Events
     More About Server Controls
     Adding Validation
     Using Directives to Modify Web Page Compilation
     ASP.NET Objects: Interacting with the Framework
     Discovering Browser Capabilities
     Maintaining State
     Application-Level Code and global.asax
     Web-Application Security
     Designing Custom Controls
     Summary

7. Web Services
     Creating a Web Service
     Testing a Web Service with a Browser
     Web-Service Descriptions
     Consuming a Web Service
     Web-Service Discovery
     Limitations of Web Services
     Summary

8. ADO.NET: Developing Database Applications
     A Brief History of Universal Data Access
     Managed Providers
     Connecting to a SQL Server Database
     Connecting to an OLE DB Data Source
     Reading Data into a DataSet
     Relations Between DataTables in a DataSet
     The DataSet's XML Capabilities
     Binding a DataSet to a Windows Forms DataGrid
     Binding a DataSet to a Web Forms DataGrid
     Typed DataSets
     Reading Data Using a DataReader
     Executing Stored ProceduresThrough a SqlCommand Object
     Summary

A. Custom Attributes Defined in the System Namespace

B. Exceptions Defined in the System Namespace

C. Cultures

D. Resources for Developers

E. Math Functions

Index

商品描述(中文翻譯)

《Programming Visual Basic .NET》是使用Visual Basic .NET進行應用程式開發的完整指南。這本書針對有一定程式設計經驗的程式設計師,涵蓋了Microsoft新的.NET平台的主要應用程式開發領域。從傳統的“hello world”應用程式開始,本書討論了使用Visual Basic構建任何.NET應用程式的兩個基本組件:Visual Basic .NET程式語言和.NET Framework。涵蓋的主題包括:Visual Basic語言元素、Visual Basic的面向對象語言特性、使用屬性進行編程、公共語言運行時、垃圾回收和Finalize和Dispose方法、以編程方式讀取和寫入.NET配置文件等。本書的其餘部分專注於使用.NET Framework開發的三種主要應用程式類型:Windows Forms應用程式、ASP.NET應用程式和Web服務。在每種情況下,本書向您展示如何使用Visual Studio .NET和文本編輯器以及Visual Basic命令行編譯器構建應用程式。這使您可以深入了解Visual Studio的內部運作方式,並更好地理解.NET應用程式的工作原理,這對於構建自己的應用程式非常有用。這些章節中涵蓋的個別開發主題包括:開發多文檔界面(MDI)Windows Forms應用程式、處理表單和控件的放置和調整大小、使用Windows Forms菜單、使用Windows公共對話框、以編程方式利用.NET打印服務、使用ASP.NET HTML控件和Web控件、了解ASP.NET中的安全性、創建、發現和使用Web服務、使用ADO.NET在.NET應用程式中訪問數據等。《Programming Visual Basic .NET》剛好在Visual Studio .NET首次發布之際出版,必將成為開發人員.NET圖書館中的重要組成部分。

目錄:
前言
1. 簡介
- 什麼是Microsoft .NET Framework?
- 什麼是Visual Basic .NET?
- 一個Visual Basic .NET範例程式

2. Visual Basic .NET語言
- 源文件
- 識別符
- 關鍵字
- 文字
- 類型
- 命名空間
- 符號常量
- 變數
- 作用域
- 存取修飾符
- 賦值
- 運算符和表達式
- 陳述式
- 類
- 接口
- 結構
- 枚舉
- 異常
- 委派
- 事件
- 標準模塊
- 屬性
- 條件編譯
- 總結

3. .NET Framework
- 公共語言基礎設施(CLI)和公共語言運行時(CLR)
- 公共類型系統(CTS)
- CLI的部分
- 模塊和A