此商品已下架,若仍需天瓏代為查詢或代購書籍,請與門市客服人員聯繫,或 E-mail 至 service@tenlong.com.tw 將有專人為您服務。

.NET-A Complete Development Cycle (Paperback)
暫譯: .NET 完整開發週期 (平裝本)

Gunther Lenz, Thomas Moeller

  • 出版商: Addison Wesley
  • 出版日期: 2003-08-26
  • 定價: $1,980
  • 售價: 6.0$1,188
  • 語言: 英文
  • 頁數: 592
  • 裝訂: Paperback
  • ISBN: 0321168828
  • ISBN-13: 9780321168825
  • 相關分類: .NET
  • 立即出貨(限量) (庫存=3)

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

商品描述

.NET—A Complete Development Cycle is the first guide to combining the best software-engineering practices of the Unified Process with the ins and outs of the .NET architecture. The book begins with an overview of the principles of software engineering and then introduces Microsoft technologies such as Visual C#, Windows Forms (WinForms), ADO.NET, and ASP.NET.

Central to this practical guide is a case study of the development of a working imaging application. As the authors lead readers through the complete lifecycle of this .NET development project, they teach effective software-engineering methodologies, including top strategies for requirements engineering, functional breakdown, design reviews, implementation, testing, and deployment. Readers will also learn how to make the most of tools such as the Unified Modeling Language (UML), GDI+, multithreading, Web Services Description Language (WSDL), Simple Object Access Protocol (SOAP), UDDI (Universal Description, Discovery and Integration), and versioning.

By actively participating in this example, readers become working members of the development team. They will be able to use their newly acquired knowledge to accomplish tasks critical to the successful creation of the Web-based smart-client application. Readers can verify their work against the solutions provided on the book's accompanying CD-ROM, which also contains all of the source code, additional tools, process documentation (including mechanisms for requirements tracing), and examples as well as additional tips on extending and enhancing the imaging application.

Whether you are making the transition to .NET architecture or are an experienced Microsoft developer, project lead or software quality engineer who wants to learn effective software-engineering techniques, .NET—A Complete Development Cycle is an invaluable resource. Readers will come away with the foundation needed to use .NET technologies to design and build complete applications, a solid understanding of good software-engineering practices, and a working Web-based imaging application that easily can be expanded or customized.

Table of Contents

Preface.


Acknowledgments.


About the Authors.


1. Introducing .NET.

The Need for .NET.

The .NET Framework.

The Common Language Runtime.

The Framework Class Library (FCL).

The C# Language.

Debugging and the IDE.

References for Further Reading.



2. Introducing Software Engineering.

Introducing Software Engineering Practices.

Choosing a Software Development Model.

Commonly Used Software Development Models.

Code and Fix Software Development Model.

The Waterfall Software Development Model.

The V Software Development Model.

The Spiral Software Development Model.

The Staged Delivery Software Development Model.

The Evolutionary Prototyping Software Development Model.

The Scrum Software Development Model.

The Adaptive Software Development Model.

The Unified Process Software Development Model.

The Extreme Programming Software Development Model.

Conclusion.

References for Further Reading.



3. A .NET Prototype.

Getting Started.

Evaluating .NET for Windows Client Applications.

Our First .NET Application.

Prototyping.

Implementing the SmartNotes Application.

Creating a New Project.

Modifying Form Properties.

Adding Controls to a Form.

Adding a Form to the Project.

Creating an Event Handler.

Implementing a Timer.

Visual Studio.NET: Platform of Choice.



4. Project Planning.

The Project Vision and Business Case.

The Initial Use Case Model.

Requirements Keys.

Using XML for Requirements Documents.

Project Requirements.

Initial Project Planning.

Project Management Planning.

Project Implementation Planning.

Initial Risk Analysis.

Initial Requirements Analysis and Design.

The Photo Editor.

The Image-Processing Library.

The Online Shop.

Defining Architectural Requirements.

Conclusion.

References for Further Reading.



5. The Photo Editor Application.

The Refined Project Vision and Business Case.

Refined Requirements for Online Photo Shop.

Refined Use Case Diagram.

Refined Requirements List.

Analysis of the Photo Editor Requirements.

The photo_editor Requirement.

The error_handling Requirement.

The picture_load_and_save Requirement.

The image_crop Requirement.

The image_rotate Requirement.

The image_flip Requirement.

The image_format Requirement.

The platform_os Requirement.

Design of the Photo Editor Application.

Brief Introduction to UML Class Diagrams.

Design of the Photo Editor Application.

The Detailed Project Schedule.

Implementation of the Photo Editor Application.

The Basic Photo Editor Application.

Using Version Control.

The Exception-Handling Application Block.

Customized Exception Handling.

Loading an Image.

Scrolling and Basic Image Operations.

Refactoring of the Current Code.

Creating a Custom Control for Smooth Scrolling.

Implementation of CustomScrollableControl.

Configuring the Custom Control for Use in Visual Studio.NET.

Cropping an Image.

Rotate and Flip an Image.

Save an Image.

Unit Tests.

The NUnit Test Framework.

Unit Test Implementation.

Conclusion.

Review.

References for Further Reading.



6. GDI+ Graphics Extensions.

Requirements for the GDI+ Extensions.

Analysis of the GDI+ Extensions Requirements.

The photo_editor Requirement.

The image_graphics_annotations Requirement.

The image_text_annotations Requirement.

Design of the GDI+ Extensions.

Using Design Patterns.

Project Management Issues.

Schedule Issues.

Reported Defects.

GDI+ Programming.

What Is GDI+?

GDI+ Namespaces.

The Basics of GDI+.

Drawing GDI+ Primitives.

The Infrastructure Implementation.

Drawing GDI+ Graphics Primitives: Lines, Rectangles, and Ellipses.

Handling Mouse Events and Interactive Drawing.

Drawing Text in GDI+.

The Region of Interest, Erase, Reset, and Apply Functionality.

Debugging and Defect Resolution.

Unit Tests.

Conclusion.

Review.

References for Further Reading.



7. Advanced GDI+ Operations.

Advanced GDI+ Extensions.

Analysis of the Advanced GDI+ Extensions Requirements.

The photo_editor Requirement.

The image_graphics_annotations Requirement.

The image_graphics_special_effects Requirement.

Design of the Advanced GDI+ Extensions.

Project Management Issues.

Request for Additional Features.

Resolution of the Request.

Using Pens and Brushes in GDI+.

Color in GDI+: Using the RGB and ARGB Formats.

More on Pens and Brushes.

The GraphicsPath Class.

The Region Class.

Implementation of Regions, Pens, and Brushes.

Using Regions for the Frame Implementation.

Unit Tests.

Conclusion.

Review.

References for Further Reading.



8. Dynamic Loading of Components.

Requirements for Image Postprocessing Components.

Analysis of the Image Postprocessing Requirements.

The photo_editor Requirement.

The image_brightness Requirement.

The image_contrast_and_color Requirement.

The image_special_effects Requirement.

Design of the Image-Processing Components Using Late Binding.

Design of the Language Extension Components.

Project Management Issues.

Improving Project Visibility.

Implementing Dynamically Loadable Image Postprocessing Plugins.

Late Binding and Reflection.

Adding a PictureBox for Previewing Image Operations.

Implementation of a TrackBar Control.

The Language-Independent Plugin Implementation.

Unit Tests.

The Contrast Plugin Unit Test.

The Color Plugin Unit Test.

The Red Eye Plugin Unit Test.

Conclusion.

Review.

References for Further Reading.



9. Accessing System Resources.

Refining Requirements for 3D Text Display.

Three-Dimensional Rendering Technologies.

GDI+ and DirectX.

OpenGL.

Software versus Hardware Rendering.

Analyzing User Interface Needs.

Using OpenGL.NET.

Rendering Three-Dimensional Text with OpenGL.

Three-Dimensional Text DLL Interfaces.

Adding 3D Text to the Photo Editor Application.

The 3D Text DLL Extension.

Using PInvoke to Integrate the 3D Text DLL into .NET.

First 3D Text: A Unit Test.

Implementing the User Interface.

Conclusion: Don't Reinvent the Wheel.

References for Further Reading.



10. Performance Optimization, Multithreading, and Profiling.

Requirements for Performance Optimization.

Analysis of the Editor Optimization Requirement.

Profiling the Photo Editor Application.

Optimization Possibilities and Prototyping.

Design of the Optimizations.

Performance Optimization Options.

Multithreading and Symmetric Multiprocessing.

Design of the Multithreaded GUI.

Project Management Issues.

Relation of Project Scope, Cost, Quality, and Time.

Early Delivery Possibilities.

Other Actions.

Multithreading and Optimization Implementation.

Prototyping Solutions for Performance Optimization.

Implementing the Contrast Plugin Using Pointer Arithmetic for Pixel Access.

Multithreading Implementation to Increase GUI Responsiveness.

Using Thread Pools and Locks.

Unit Tests.

Conclusion.

Review.

References for Further Reading.



11. Building the Web Application with ASP.NET.

Online Store Requirements.

Analyzing Interfaces and Activities.

The XML Product Catalog.

Online Store Activities.

Web Forms.

Breakdown of the Code Modules.

The Product Parser.

The Shopping Cart.

Web Forms.

Calculators.

Implementation of Online Photo Shop.

Creating a New Web Application.

Parsing the XML Product Catalog.

The Online Shop Portal.

The Shopping Cart.

Conclusion.

Reference for Further Reading.



12. Security and Database Acccess.

Secure Checkout.

Integrating Externally Supplied Software.

Validation of Externally Supplied Software Products.

E-mail, Password, Credit Card: Creating a Customer Profile.

User Interfaces.

Database Records.

Tax and Shipping.

Finalizing an Order.

Secure Web Applications.

Authentication.

Authorization.

Encryption.

Database Access with ADO.NET.

Putting It All Together.

Creating the Data Source.

The Data Access Layer.

The Database Singleton.

The Login Page.

The Checkout Form.

No Longer Under Construction.

References for Further Reading.



13. Product Release.

Deployment.

Options for Distributing .NET Applications/

Creating a Setup Program.

Deploying Web Applications.

Online Photo Shop Installation Notes.

Integration Test.

Test Automation.

Creating a Test Book.

Requirements Tracing.

Software Maintanance.

Change Request Management.

Maintenance Strategies.

Wrap-Up.

Project Planning.

Requirements Refinement and Customer Feedback.

Prototyping.

Use of Unified Modeling Language and Design Patterns.

Documentation.

Automated Testing.

Error Handling through Exceptions.

Designing for Extensibility.

Code Reuse.

References for Further Reading.



Index.

商品描述(中文翻譯)

《.NET—完整開發週期》是第一本將統一過程的最佳軟體工程實踐與 .NET 架構的細節相結合的指南。本書首先概述了軟體工程的原則,然後介紹了 Microsoft 技術,如 Visual C#、Windows Forms (WinForms)、ADO.NET 和 ASP.NET。

這本實用指南的核心是一個開發工作影像應用程式的案例研究。作者在引導讀者了解這個 .NET 開發專案的完整生命週期時,教授有效的軟體工程方法論,包括需求工程、功能分解、設計審查、實作、測試和部署的最佳策略。讀者還將學習如何充分利用統一建模語言 (UML)、GDI+、多執行緒、Web Services Description Language (WSDL)、Simple Object Access Protocol (SOAP)、UDDI (通用描述、發現與整合) 和版本控制等工具。

透過積極參與這個範例,讀者將成為開發團隊的工作成員。他們將能夠運用新獲得的知識來完成成功創建基於 Web 的智慧客戶端應用程式所需的關鍵任務。讀者可以根據書中附帶的 CD-ROM 上提供的解決方案來驗證自己的工作,該 CD-ROM 還包含所有源代碼、附加工具、過程文檔(包括需求追蹤機制)和範例,以及擴展和增強影像應用程式的額外提示。

無論您是轉向 .NET 架構,還是希望學習有效的軟體工程技術的經驗豐富的 Microsoft 開發人員、專案負責人或軟體質量工程師,《.NET—完整開發週期》都是一個無價的資源。讀者將獲得使用 .NET 技術設計和構建完整應用程式所需的基礎,對良好軟體工程實踐的堅實理解,以及一個可以輕鬆擴展或自定義的基於 Web 的影像應用程式。

目錄

前言
致謝
關於作者
1. 介紹 .NET
.NET 的需求
.NET 框架
通用語言執行環境
框架類別庫 (FCL)
C# 語言
除錯與 IDE
進一步閱讀的參考資料

2. 介紹軟體工程
介紹軟體工程實踐
選擇軟體開發模型
常用的軟體開發模型
編碼與修正軟體開發模型
瀑布式軟體開發模型
V 型軟體開發模型
螺旋式軟體開發模型
階段交付軟體開發模型
演化原型軟體開發模型
Scrum 軟體開發模型
自適應軟體開發模型
統一過程軟體開發模型
極限編程軟體開發模型
結論
進一步閱讀的參考資料

3. .NET 原型
開始
評估 .NET 用於 Windows 客戶端應用程式
我們的第一個 .NET 應用程式
原型設計
實作 SmartNotes 應用程式
創建新專案
修改表單屬性
向表單添加控制項
向專案添加表單
創建事件處理器
實作計時器
Visual Studio.NET:首選平台

4. 專案規劃
專案願景與商業案例
初步用例模型
需求關鍵
使用 XML 作為需求文檔
專案需求
初步專案規劃
專案管理規劃
專案實施規劃
初步風險分析
初步需求分析與設計
照片編輯器
圖像處理庫
在線商店
定義架構需求
結論
進一步閱讀的參考資料

5. 照片編輯器應用程式
精煉的專案願景與商業案例
在線照片商店的精煉需求
精煉的用例圖
精煉的需求列表
照片編輯器需求分析
photo_editor 需求
error_handling 需求
picture_load_and_save 需求
image_crop 需求
image_rotate 需求
image_flip 需求
image_format 需求
platform_os 需求
照片編輯器應用程式的設計
UML 類圖簡介
照片編輯器應用程式的設計
詳細的專案時間表
照片編輯器應用程式的實作
基本照片編輯器應用程式
使用版本控制
異常處理應用程式區塊
自定義異常處理
加載圖像
滾動與基本圖像操作
當前代碼的重構
創建自定義控制項以實現平滑滾動
實作 CustomScrollableControl
配置自定義控制項以在 Visual Studio.NET 中使用
剪裁圖像
旋轉和翻轉圖像
保存圖像
單元測試
NUnit 測試框架
單元測試實作
結論
回顧
進一步閱讀的參考資料

6. GDI+ 圖形擴展
GDI+ 擴展的需求
GDI+ 擴展需求分析
photo_editor 需求
image_graphics_annotations 需求
image_text_annotations 需求
GDI+ 擴展的設計
使用設計模式
專案管理問題
時間表問題
報告的缺陷
GDI+ 編程
GDI+ 是什麼?
GDI+ 命名空間
GDI+ 的基本知識
繪製 GDI+ 原始圖形
基礎設施實作
繪製 GDI+ 圖形原始圖形:線條、矩形和橢圓
處理滑鼠事件和互動繪圖
在 GDI+ 中繪製文本
感興趣區域、擦除、重置和應用功能
除錯與缺陷解決
單元測試