Free Sample
+ Collection

ASP.NET 3.5 Application Architecture and Design

Vivek Thakur

Build robust, scalable ASP.NET applications quickly and easily.
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847195500
Paperback260 pages

About This Book


  • Master the architectural options in ASP.NET to enhance your applications
  • Develop and implement n-tier architecture to allow you to modify a component without disturbing the next one
  • Design scalable and maintainable web applications rapidly
  • Implement ASP.NET MVC framework to manage various components independently


Who This Book Is For

This book is for people familiar with the ASP.NET framework using either C# or VB.NET. You don’t need to be an ASP.NET guru – the book is ideal for novice and intermediate developers.

If reading about application architecture usually confuses you or sends you to sleep, then this book will be perfect for you! In short, any ASP.NET programmer who is confused or disoriented reading different books or materials on architectures wondering how and what to implement in their application, will definitely benefit from this book!

Table of Contents

Chapter 1: Introduction to Architecture and Design
Software Architecture
Software Design
Architectural Styles
Architecture and Design in ASP.NET
Architecture: First Steps
Design Patterns
Project Life Cycle
Tiers and Layers
Chapter 2: 1-Tier 1-Layer Architecture in ASP.NET
Default N-Tier Nature of Web Applications
Classic ASP Style: Inline Coding
Code-Behind Model: The Second UI Layer
Data Source Controls
Chapter 3: ER Diagrams, Domain Model, and N-Layer Architecture
Entity-Relationship Diagram
OMS Project using 2-Layer
Domain Model using UML
1-tier 3-layer Architecture using a Domain Model
Object Data Source Controls
Chapter 4: N-Tier Architecture
Why N-Tier?
A 4-Tier Approach
5-Tier Architecture
Chapter 5: Model View Controller
Page Controller Pattern in ASP.NET
MVC Design: A Front Controller based Approach
ASP.NET MVC Framework
Chapter 6: Design Patterns
Understanding Design Patterns
Chapter 7: SOA and WCF
Understanding Application Size, Scope, and Granularity
What is SOA?
Sample Project
Windows Communication Foundation
Chapter 8: Database Design
The Importance of a Database
Database Architecture and Design
Physical Data Model
Data Modeling using MS Visio
Chapter 9: Localization
Globalization and Localization
Basic Steps for Globalizing an ASP.NET Website
Incorporating Globalization
Using a Database for Localization

What You Will Learn

  • Explore different architectural options while creating web solutions – tiers, layers, and logical structuring
  • Master the concept of n-tier architecture and used design patterns in ASP.NET
  • Implement the new ASP.NET MVC design in your applications
  • Build an SOA application and see how WCF compliments it
  • Design scalable and maintainable applications
  • Deploy your localized applications and learn the best practices for your localization framework
  • Learn better database design that can go with your application
  • Explore best practices on how to globalize your commercial web applications

Chapter 1: Introduction to Architecture and Design. This chapter will introduce you to architecture and design in ASP.NET, including tiers, layers, and logical structuring.

Chapter 2: 1-Tier 1-Layer Architecture in ASP.NET. This chapter discusses the advantages and disadvantages of using the simplest and easiest 1-tier, 1-layer default architecture in ASP.NET. Readers will also understand when and why we should use out-of-the-box data source controls, and how 1-tier and 1-layer style is tightly coupled and not flexible or scalable.

Chapter 3: ER diagrams, Domain Model and n-Layer Architecture. This chapter discusses what an ER diagram is, the domain model, the basics of UML, what an n-layer design is, and how it increases flexibility and maintainability of the code compared to a 1-layer architecture. A sample project is explained with code in a 3-layer model. The drawbacks/limitations of this model are also discussed.

Chapter 4: N-Tier Architecture. This chapter talks about n-tier architecture in ASP.NET and how to implement it. It also explains the Data Transfer objects and how to use them, 4-tier and 5-tier web solutions.

Chapter 5: MVC Design and ASP.NET MVC Framework. In this chapter you will learn and understand what MVC design is and how ASP.NET MVC framework helps us quickly implement MVC design in our web applications.

Chapter 6: Design Patterns. In this chapter you will learn how and when to use the most common design patterns in ASP.NET: Factory, Dependency Injection, Singleton, and others.

Chapter 7: SOA and WCF. This chapter explains why we need SOA, explaining the advantages of SOA for a beginner. A sample project using SOA architecture is discussed. The chapter also teaches how the Windows Communication Framework compliments SOA.

Chapter 8: Best Practices in Database Design. This chapter deals with the importance of a well designed database, balanced normalization, logical and physical models, tips and tricks for better database models.

Chapter 9: Localization. This chapter covers localization for ASP.NET applications, deployment of localized applications, localization framework, and best practices.

In Detail

Application architecture is an essential skill for ASP.NET developers. It is always tempting to jump in and start coding, but planning your architecture early in the project will leave you with a solid application that scales well, is easy to modify and extend, and saves you time and effort later on. As businesses struggle to control their costs, writing solid code that can be extended easily is becoming even more important.

This book takes a pragmatic approach to Application Architecture in ASP.NET 3.5. It presents a series of common architectural models, and shows how to select the best ones for your project and apply them.

The book begins by showing you how to use the main architectural models in your applications. You will see how to implement n-tier architectures, MVC, design patterns, and more. But this is no software engineering theory book – it is a practical, hands-on guide that shows you how to use these techniques in your software straight away. We then go on to build SOA (Service-Oriented Architecture) applications with the Windows Communication Framework (WCF). Finally the book contains some essential guidance on effective database design, and a chapter on localizing your applications.

This book is a great way to learn ASP.NET Architecture in a practical, hands-on way. It will also serve as a quick reference for improving your application design.


Read More