Beginning SOLID Principles and Design Patterns for ASP.NET Developers
- Length: 399 pages
- Edition: 1st ed. 2016
- Language: English
- Publisher: Apress
- Publication Date: 2016-04-08
- ISBN-10: 1484218477
- ISBN-13: 9781484218471
- Sales Rank: #1527098 (See Top 100 Books)
This book teaches you all the essential knowledge required to learn and apply time-proven SOLID principles of object-oriented design and important design patterns in ASP.NET Core 1.0 (formerly ASP.NET 5) applications. You will learn to write server-side as well as client-side code that makes use of proven practices and patterns.
SOLID is an acronym popularized by Robert Martin used to describe five basic principles of good object-oriented design–Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation and Dependency Inversion. This book covers all five principles and illustrates how they can be used in ASP.NET Core 1.0 applications.
Design Patterns are time proven solutions to commonly occurring software design problems. The most well-known catalog of design patterns comes from Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides, the so-called as GoF patterns (Gang of Four patterns). This book contains detailed descriptions of how to apply Creational, Structural and Behavioral GoF design patterns along with some Patterns of Enterprise Application Architecture. Popular JavaScript patterns are covered, along with working examples of all these patterns in ASP.NET Core 1.0 and C# are included.
What You Will Learn:
- How to apply SOLID principles to ASP.NET applications
- How to use Gang of Four (GoF) design patterns in ASP.NET applications
- Techniques for applying Patterns of Enterprise Application Architecture cataloged by Martin Fowler in ASP.NET applications
- How to organize code and apply design patterns in JavaScript
Who This Book Is For:
This book is for ASP.NET developers familiar with ASP.NET Core 1.0, C# and Visual Studio.
Table of Contents
Chapter 1: Overview of SOLID Principles and Design Patterns
Chapter 2: SOLID Principles
Chapter 3: Creational Patterns: Singleton, Factory Method, and Prototype
Chapter 4: Creational Patterns: Abstract Factory and Builder
Chapter 5: Structural Patterns: Adapter, Bridge, Composite, and Decorator
Chapter 6: Structural Patterns: Façade, Flyweight, and Proxy
Chapter 7: Behavioral Patterns: Chain of Responsibility, Command, Interpreter, and Iterator
Chapter 8: Behavioral Patterns: Mediator, Memento, and Observer
Chapter 9: Behavioral Patterns: State, Strategy, Template Method, and Visitor
Chapter 10: Patterns of Enterprise Application Architecture: Repository, Unit of Work, Lazy Load, and Service Layer
Chapter 11: JavaScript Code-Organization Techniques and Patterns