This unique book takes good ASP.NET application construction one step further by emphasizing loosely coupled and highly cohesive ASP.NET web application architectural design. Each chapter addresses a layer in an enterprise ASP.NET application and shows how proven patterns, principles, and best practices can be leveraged to solve problems and improve the design of your code. In addition, a professional–level, end–to–end case study is used to show how to actuate best practice design patterns and principles in a real web site. The framework built to support the case study can be used as the basis from which you can build real web sites, extend the code, and implement specific ASP.NET code.
Professional ASP.NET Design Patterns:
Demonstrates how to use the Gang of Four design patterns to improve your ASP.NET code
Shows how Fowler's enterprise patterns fit into an enterprise–level ASP.NET site
Provides details on how to layer an ASP.NET application and separate your concerns and responsibilities
Details AJAX patterns using JQuery and Json, and messaging patterns with WCF
Shares best practice tools for ASP.NET such as AutoMapper, NHibernate, StructureMap, Entity Framework, and Castle MonoRail
Uncovers tips for separating a site's UX and presentation layer from the pluggable data access layer and business logic layer
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Wrox Professional guides are planned and written by working programmers to meet the real–world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Part I: Introducing Patterns and Principles.
Chapter 1: The Pattern for Successful Applications.
Design Patterns Explained.
Fowler's Enterprise Design Patterns.
Other Design Practices of Note.
Chapter 2: Dissecting the Pattern's Pattern.
How to Read Design Patterns.
Design Pattern Groups.
How to Choose and Apply a Design Pattern.
A Quick Pattern Example.
Part II: The Anatomy of an ASP.NET Application: Learning and Applying Patterns.
Chapter 3: Layering Your Application and Separating Your Concerns.
Application Architecture and Design.
Chapter 4: The Business Logic Layer: Organization.
Understanding Business Organizational Patterns.
Chapter 5: The Business Logic Layer: Patterns.
Leveraging Design Patterns.
Leveraging Enterprise Patterns.
Applying Design Principles.
Chapter 6: The Service Layer.
Describing the Service Layer.
Leveraging Messaging Patterns.
An SOA Example.
Chapter 7: The Data Access Layer.
Describing the DAL.
Data Access Strategies.
Patterns in Data Access.
Using an Object Relation Mapper.
Chapter 8: The Presentation Layer.
Inversion of Control.
The User Chapter 9: Experience Layer.
What Is AJAX.
Understanding AJAX Patterns.
Part III: Case Study: The Online DVD Store.
Chapter 10: Requirements and Infrastructure.
Agatha's Clothing Store Requirements.
Chapter 11: Creating The Product Catalog.
Creating The Product Catalog.
Implementing t Chapter 12: he Shoppi ng Basket.
Implementing the Basket.
Chapter 13: Customer Membership.
Chapter 14: Ordering and Payment.