Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Record 16 of 17
Results Page:  Previous Next
Author Marcotte, Carl-Hugo, author.

Title An atypical ASP.NET core 6 design patterns guide : a solid adventure into architectural principles and design patterns using .NET 6 and C# 10 / Carl-Hugo Marcotte ; foreword by Abdelhamid Zebdi. [O'Reilly electronic resource]

Edition Second edition.
Publication Info. Birmingham, [United Kingdom] : Packt Publishing, 2022.
QR Code
Description 1 online resource (678 pages) : illustrations
Series Expert insight
Expert insight.
Note Includes index.
Summary An Atypical ASP.NET Core 6 Design Patterns Guide, Second Edition approaches programming like playing with LEGO®: snapping small pieces together to create something beautiful. Thoroughly updated for ASP.NET Core 6, with further coverage of microservices patterns, data contracts, and event-driven architecture, this book gives you the tools to build and glue reliable components together to improve your programmatic masterpieces. The chapters are organized based on scale and topic, allowing you to start small and build on a strong base, the same way that you would develop a program. You will begin by exploring basic design patterns, SOLID architectural principles, dependency injection, and other ASP.NET Core 6 mechanisms. You will explore component-scale patterns, and then move to higher level application-scale patterns and techniques to better structure your applications. Finally, you'll advance to the client side to connect the dots with tools like Blazor and make ASP.NET Core a viable full-stack web development framework. You will supplement your learning with practical use cases and best practices, exploring a range of significant Gang of Four (GoF) design patterns along the way. By the end of the book, you will be comfortable combining and implementing patterns in different ways, and crafting software solutions of any scale.
Contents Cover -- Copyright -- Contributors -- Table of Contents -- Preface -- Section 1: Principles and Methodologies -- Chapter 1: Introduction -- What is a design pattern? -- Anti-patterns and code smells -- Anti-patterns -- Anti-pattern -- God Class -- Code smells -- Code smell -- Control Freak -- Code smell -- Long Methods -- Understanding the web -- request/response -- Getting started with .NET -- .NET SDK versus runtime -- .NET 5+ versus .NET Standard -- Visual Studio Code versus Visual Studio versus the command-line interface -- An overview of project templates -- Running and building your program
Technical requirements -- Summary -- Questions -- Further reading -- Chapter 2: Automated Testing -- An overview of automated testing -- Unit testing -- Integration testing -- End-to-end testing -- Other types of tests -- Picking the right test style -- Testing approaches -- Refactoring -- Technical debt -- Testing .NET applications -- Creating an xUnit test project -- Getting started with xUnit -- Facts -- Assertions -- Theories -- Closing words -- Arrange, Act, Assert -- Organizing your tests -- Unit tests -- Integration tests -- ASP.NET Core integration testing -- Classic web application
Minimal hosting -- Important testing principles -- Summary -- Questions -- Further reading -- Chapter 3: Architectural Principles -- The SOLID principles -- Single responsibility principle (SRP) -- Project -- BookStore -- What is an interface? -- Open/Closed principle (OCP) -- Project -- IAttacker -- Liskov substitution principle (LSP) -- Project -- HallOfFame -- Conclusion -- Interface segregation principle (ISP) -- Project -- Ninja versus Pirate -- Project -- Bookstore update -- Conclusion -- Dependency inversion principle (DIP) -- Direct dependency -- Inverted dependency
Inverting subsystems using DIP -- Project -- Dependency inversion -- Conclusion -- What's next? -- Other important principles -- Separation of concerns -- Don't repeat yourself (DRY) -- Keep it simple, stupid (KISS) -- Summary -- Questions -- Further reading -- Section 2: Designing for ASP.NET Core -- Chapter 4: The MVC Pattern Using Razor -- The Model View Controller design pattern -- Goal -- Design -- Anatomy of ASP.NET Core MVC -- Directory structure -- Controller -- Model -- View -- Default routing -- Conclusion -- The View Model design pattern -- Goal -- Design
Project -- View models (a list of students) -- Conclusion -- Summary -- Questions -- Further reading -- Chapter 5: The MVC Pattern for Web APIs -- An overview of REST -- HTTP methods -- Status code -- HTTP headers -- Versioning -- Default versioning strategy -- Versioning strategy -- Wrapping up -- The Model View Controller design pattern -- Goal -- Design -- Anatomy of ASP.NET Core web APIs -- The entry point -- Directory structure -- Controller -- Returning values -- Attribute routing -- Conclusion -- The Data Transfer Object design pattern -- Goal -- Design -- Project -- DTO -- Conclusion
Subject Microsoft .NET Framework.
Microsoft .NET Framework
Application software -- Development.
Web applications.
C (Computer program language)
Logiciels d'application -- Développement.
Applications Web.
C (Langage de programmation)
Application software -- Development
C (Computer program language)
Web applications
Added Author Zebdi, Abdelhamid, writer of foreword.
Other Form: Print version : 9781803249841
ISBN 9781803243887 (ebook)
1803243880
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information