Book description
Design scalable and high-performance enterprise applications using the latest features of C# 9 and .NET 5
Key Features
- Gain fundamental and comprehensive software architecture knowledge and the skillset to create fully modular apps
- Design high-performance software systems using the latest features of .NET 5 and C# 9
- Solve scalability problems in web apps using enterprise architecture patterns
Book Description
Software architecture is the practice of implementing structures and systems that streamline the software development process and improve the quality of an app. This fully revised and expanded second edition, featuring the latest features of .NET 5 and C# 9, enables you to acquire the key skills, knowledge, and best practices required to become an effective software architect.
This second edition features additional explanation of the principles of Software architecture, including new chapters on Azure Service Fabric, Kubernetes, and Blazor. It also includes more discussion on security, microservices, and DevOps, including GitHub deployments for the software development cycle.
You will begin by understanding how to transform user requirements into architectural needs and exploring the differences between functional and non-functional requirements. Next, you will explore how to carefully choose a cloud solution for your infrastructure, along with the factors that will help you manage your app in a cloud-based environment.
Finally, you will discover software design patterns and various software approaches that will allow you to solve common problems faced during development.
By the end of this book, you will be able to build and deliver highly scalable enterprise-ready apps that meet your organization's business requirements.
What you will learn
- Use different techniques to overcome real-world architectural challenges and solve design consideration issues
- Apply architectural approaches such as layered architecture, service-oriented architecture (SOA), and microservices
- Leverage tools such as containers, Docker, Kubernetes, and Blazor to manage microservices effectively
- Get up to speed with Azure tools and features for delivering global solutions
- Program and maintain Azure Functions using C# 9 and its latest features
- Understand when it is best to use test-driven development (TDD) as an approach for software development
- Write automated functional test cases
- Get the best of DevOps principles to enable CI/CD environments
Who this book is for
This book is for engineers and senior software developers aspiring to become architects or looking to build enterprise applications with the .NET Stack. Basic familiarity with C# and .NET is required to get the most out of this book.
Table of contents
- Preface
-
Understanding the Importance of Software Architecture
- What is software architecture?
- Software development process models
- Gathering the right information to design high-quality software
- Using design techniques as a helpful tool
- Common cases where the requirements gathering process impacted system results
- Case study – introducing World Wild Travel Club
- Summary
- Questions
- Further reading
-
Non-Functional Requirements
- Technical requirements
- Enabling scalability, availability, and resiliency with Azure and .NET 5
- Performance issues that need to be considered when programming in C#
- Usability – why inserting data takes too much time
- The fantastic world of interoperability with .NET Core
- Achieving security by design
- Book use case – understanding the main types of .NET Core projects
- Summary
- Questions
- Further reading
- Documenting Requirements with Azure DevOps
- Deciding the Best Cloud-Based Solution
- Applying a Microservice Architecture to Your Enterprise Application
- Azure Service Fabric
- Azure Kubernetes Service
- Interacting with Data in C# – Entity Framework Core
- How to Choose Your Data Storage in the Cloud
- Working with Azure Functions
- Design Patterns and .NET 5 Implementation
-
Understanding the Different Domains in Software Solutions
- Technical requirements
- What are software domains?
- Understanding domain-driven design
- Entities and value objects
- Using SOLID principles to map your domains
- Aggregates
- The repository and Unit of Work patterns
- DDD entities and Entity Framework Core
- Command Query Responsibility Segregation (CQRS) pattern
- Command handlers and domain events
- Event sourcing
- Use case – understanding the domains of the use case
- Summary
- Questions
- Further reading
-
Implementing Code Reusability in C# 9
- Technical requirements
- Understanding the principles of code reusability
- Reusability in the development life cycle
- Using .NET 5 or .NET Standard for code reuse
- How does C# deal with code reuse?
- What if the code is not reusable?
- I have my libraries. How do I promote them?
- Use case – reusing code as a fast way to deliver good and safe software
- Summary
- Questions
- Further reading
- Applying Service-Oriented Architectures with .NET Core
-
Presenting ASP.NET Core MVC
- Technical requirements
- Understanding the presentation layers of web applications
- Understanding the ASP.NET Core MVC structure
- What is new in the latest versions of ASP.NET Core?
- Understanding the connection between ASP.NET Core MVC and design principles
- Use case – implementing a web app in ASP.NET Core MVC
- Summary
- Questions
- Further reading
- Blazor WebAssembly
- Best Practices in Coding C# 9
- Testing Your Code with Unit Test Cases and TDD
- Using Tools to Write Better Code
- Understanding DevOps Principles
- Challenges of Applying CI Scenarios
- Automation for Functional Tests
- Answers
- Another Book You May Enjoy
- Index
Product information
- Title: Software Architecture with C# 9 and .NET 5 - Second Edition
- Author(s):
- Release date: December 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800566040
You might also like
book
Software Architecture with C# 10 and .NET 6 - Third Edition
Design scalable and high-performance enterprise applications using the latest features of C# 10 and .NET 6 …
book
C# 9 and .NET 5 – Modern Cross-Platform Development - Fifth Edition
Publisher’s Note: Microsoft stopped supporting .NET 5 in May 2022. The newer 8th edition of the …
book
High-Performance Programming in C# and .NET
Enhance your applications' performance using best practices for benchmarking, application profiling, asynchronous programming, designing responsive UIs, …
book
Software Architecture by Example: Using C# and .NET
Design system solutions using modern architectural patterns and practices. This book discusses methods to keep a …