更新时间:2021-05-28 17:47:42
封面
ASP.NET 3.5
Credits
About the Author
About the Reviewers
Preface
What This Book Covers
What You Need for This Book
Who is This Book For
Conventions
Reader Feedback
Customer Support
Downloading the Example Code for the Book
Errata
Piracy
Questions
Chapter 1. Introduction to Architecture and Design
Software Architecture
Software Design
Architectural Styles
Architecture and Design in ASP.NET
Technology and Art
Architecture: First Steps
Design Patterns
Project Life Cycle
Project Initiation
Project Planning and Prototyping
Project Construction: Programming and Development
Project Transition and Release
Tiers and Layers
Physical Separation
Logical Separation
Single Tier—Single Layer Model
Single Tier—Two Layer Model
Single Tier—Three Layer Model
Two Tier Model
Two Tier—Two Layer Model
Three Tier Model
Summary
Chapter 2. 1-Tier 1-Layer Architecture in ASP.NET
Default N-Tier Nature of Web Applications
Classic ASP Style: Inline Coding
Sample Project using Inline Code
Code-Behind Model: The Second UI Layer
Sample Project using Code-Behind
Limitations of Coding in the UI Layer
Data Source Controls
A Sample Project using Inbuilt Data Source Controls
Chapter 3. ER Diagrams Domain Model and N-Layer Architecture
Entity-Relationship Diagram
Degree and Cardinality of a Relationship
OMS Project using 2-Layer
Domain Model using UML
Class Diagram
UML Relationships
1-tier 3-layer Architecture using a Domain Model
Layer 1: Data Access Layer (DAL)
Layer 2: Business Layer (BL)
Layer 3: The UI Layer
Object Data Source Controls
Chapter 4. N-Tier Architecture
Why N-Tier?
Performance
Scalability
Re-usability
Loose-Coupling
Plug and Play
A 4-Tier Approach
5-Tier Architecture
Data Transfer Objects
Lazy Loading
Updating Business Objects
GUI Tier
Generics and Custom Collections
Chapter 5. Model View Controller
Page Controller Pattern in ASP.NET
Problems with Page Controller Design
GUI Unit Testing
MVC Design: A Front Controller based Approach
Front Controller Design
Basics of MVC
REST: Representation State Transfer
MVC and REST
ASP.NET MVC Framework
Sample Project
URL Routing Engine
The Controller
The View
The Model
Wiring Controller Model and View
Unit Testing and ASP.NET MVC
Chapter 6. Design Patterns
Understanding Design Patterns
History of Patterns
Singleton Pattern