Programming Visual Basic .NET (Paperback)
暫譯: 程式設計 Visual Basic .NET (平裝本)

Dave Grundgeiger

  • 出版商: O'Reilly
  • 出版日期: 2001-12-11
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 446
  • 裝訂: Paperback
  • ISBN: 0596000936
  • ISBN-13: 9780596000936
  • 相關分類: .NETVisual Basic
  • 已絕版

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

商品描述

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 進行應用程式開發的完整指南。該書針對具有一定程式設計經驗的程式設計師,涵蓋了微軟新 .NET 平台的應用程式開發主要領域。

書中從傳統的「你好,世界」應用程式開始,接著討論了使用 Visual Basic 建立任何 .NET 應用程式的兩個基本構建塊——Visual Basic .NET 程式語言和 .NET Framework。

涵蓋的主題包括:




  • Visual Basic 語言元素


  • Visual Basic 的物件導向語言特性


  • 使用屬性進行程式設計


  • 通用語言執行環境 (Common Language Runtime)


  • 垃圾回收和 Finalize 及 Dispose 方法


  • 以程式方式讀取和寫入 .NET 配置檔




書的其餘部分專注於可以使用 .NET Framework 開發的三種主要應用程式:Windows Forms 應用程式、ASP.NET 應用程式和網路服務。在每種情況下,書中都會展示如何使用 Visual Studio .NET 以及使用文本編輯器和 Visual Basic 命令列編譯器來構建應用程式。這讓你能夠深入了解 Visual Studio 的運作,並使你對 .NET 應用程式的運作有更深入的理解——這種理解可以幫助你在構建自己的應用程式時受益。這些章節中涵蓋的個別開發主題包括:




  • 開發多文件介面 (MDI) Windows Forms 應用程式。


  • 處理表單和控制項的放置及調整大小


  • 使用 Windows Forms 菜單


  • 使用 Windows 通用對話框


  • 以程式方式利用 .NET 列印服務


  • 使用 ASP.NET HTML 控制項和 Web 控制項


  • 理解 ASP.NET 的安全性


  • 創建、發現和消費網路服務


  • 使用 ADO.NET 在 .NET 應用程式中訪問數據




Programming Visual Basic .NET》在 Visual Studio .NET 首次發布之際出版,必將成為開發者 .NET 資料庫中的關鍵組成部分。


目錄

前言

1. 介紹

     什麼是微軟 .NET Framework?

     什麼是 Visual Basic .NET?

     一個示例 Visual Basic .NET 程式

2. Visual Basic .NET 語言

     源文件

     識別符

     關鍵字

     字面量

     類型

     命名空間

     符號常數

     變數

     範圍

     訪問修飾符

     賦值

     運算符和表達式

     語句

     類

     介面

     結構

     列舉

     異常

     委託

     事件

     標準模組

     屬性

     條件編譯

     總結

3. .NET Framework

     通用語言基礎設施 (CLI) 和通用語言執行環境 (CLR)

     通用類型系統 (CTS)

     CLI 的部分

     模組和組件

     應用程式域

     通用語言規範 (CLS)

     中間語言 (IL) 和即時編譯 (JIT)

     元數據

     記憶體管理和垃圾回收

     .NET Framework 命名空間簡介

     配置

     總結

4. Windows Forms I:開發桌面應用程式

     創建表單

     處理表單事件

     表單之間的關係

     MDI 應用程式

     組件屬性

     使用 GDI+ 進行 2-D 圖形編程

     列印

     總結

5. Windows Forms II:控制項、通用對話框和菜單

     通用控制項和組件

     控制項事件

     表單和控制項佈局

     通用對話框

     菜單

     創建控制項

     總結

6. ASP.NET 和 Web Forms:開發基於瀏覽器的應用程式

     創建 Web 表單

     處理頁面事件

     有關伺服器控制項的更多資訊

     添加驗證

     使用指令修改網頁編譯

     ASP.NET 物件:與框架互動

     發現瀏覽器功能

     維護狀態

     應用程式級代碼和 global.asax

     Web 應用程式安全性

     設計自定義控制項

     總結

7. 網路服務

     創建網路服務

     使用瀏覽器測試網路服務

     網路服務描述

     消費網路服務

     網路服務發現

     網路服務的限制

     總結

8. ADO.NET:開發資料庫應用程式

     通用數據訪問的簡史

     受管提供者

     連接到 SQL Server 資料庫

     連接到 OLE DB 數據源

     將數據讀入 DataSet

     DataSet 中 DataTable 之間的關係

     DataSet 的 XML 功能

     將 DataSet 綁定到 Windows Forms DataGrid

     將 DataSet 綁定到 Web Forms DataGrid

     類型化 DataSets

     使用 DataReader 讀取數據

     通過 SqlCommand 物件執行儲存過程

     總結

A. 在 System 命名空間中定義的自定義屬性

B. 在 System 命名空間中定義的異常

C. 文化

D. 開發者資源

E. 數學函數

索引