Tech Library
home

Tech Library

Professional ASP.Net Design Patterns
Scott Millett

Cover

Professional ASP.Net Design Patterns

Summary

Summary:

This unique book takes good ASP.NET (MVC/Webforms) 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 (MVC/Webforms) 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 use best practice design patterns and principles in a real website.

Professional ASP.NET Design Patterns:

  • All patterns and principles are applicable to ASP.NET MVC and ASP.NET Web forms
  • Demonstrates how to use the Gang of Four design patterns to improve your ASP.NET code
  • Shows how Fowler's Enterprise patterns and the S.O.L.I.D. design principles 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 using MVC, MVP and the Front Controller patterns
  • Features code examples that are applicable to all versions of ASP.NET

This book features C# code examples in ASP.NET MVC and ASP.NET Web forms.

Stay up to date with the latest case study ASP.NET MVC C# code used in the book at the project home page aspnetdesignpatterns.codeplex.com/.

Contents:

Part 1: Introducing Patterns & Design Principles

  1. The Pattern for successful applications
  2. Dissecting the Patterns Pattern

Part 2: The Anatomy of an ASP.NET Application: Learning and Applying Patterns

  1. Layering Your Application
  2. Business Logic Layer: Organisation
  3. Business Logic Layer: Patterns
  4. Service Layer
  5. Data Access Layer
  6. Presentation Layer
  7. User Experience Layer

Part 3: Case Study: The Online E-Commerce Store (ASP.NET MVC 2 in C#)

  1. Requirements & Infrastructure
  2. Product Catalogue Browsing
  3. Shopping Basket
  4. Membership
  5. Ordering and Payment

From the Author

This book is all about showing you how to use the power of design patterns and core design principles in real ASP.NET applications. The goal of this book is to educate developers on the fundamentals of object oriented programming, design patterns, principles, and methodologies that can help you become a better programmer. Design patterns and principles enable loosely coupled and highly cohesive code, which will improve your code's readability, flexibility, and maintenance. 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 use best practice design patterns and principles in a real website.

From the Back Cover

Implement proven solutions to recurrent design problems

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

wrox.com

Programmer Forums
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.

Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More
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.