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 5 (recently renamed ASP.NET Core 1.0) 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 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 5 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 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 5 and C# are included.* How to apply SOLID principles to ASP.NET 5 applications What you'll learn * How to use Gang of Four (GoF) design patterns in ASP.NET 5 applications * Techniques for applying Patterns of Enterprise Application Architecture cataloged by Martin Fowler in ASP.
NET 5 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 5, C# and Visual Studio. Table of Contents 1. Overview of SOLID Principles and Design Patterns 2. SOLID Principles 3. Creational Patterns - Singleton, Factory Method and Prototype 4. Creational Patterns - Abstract Factory and Builder 5.
Structural Patterns - Adapter, Bridge, Composite and Decorator 6. Structural Patterns - Façade, Flyweight and Proxy 7. Behavioral Patterns - Chain of Responsibility, Command, Interpreter and Iterator 8. Behavioral Patterns - Mediator, Memento and Observer 9. Behavioral Patterns - State, Strategy, Template Method and Visitor 10. Patterns of Enterprise Application Architecture - Repository, Unit of Work, Lazy Load and Service Layer 11. JavaScript Code Organization Techniques and Patterns.