Software Architecture with C# 9 and .NET 5 – Architecting Software Solutions using Microservices, DevOps, and Design Patterns for Azure (2nd Edition)

Software Architecture with C# 9 and .NET 5 - Architecting Software Solutions using Microservices, DevOps, and Design Patterns for Azure (2nd Edition)

This book covers the most common design patterns and frameworks involved in modern cloud-based and distributed software architectures. It discusses when and how to use each pattern, by providing you with practical real-world scenarios. This book also presents techniques and processes such as DevOps, microservices, Kubernetes, continuous integration, and cloud computing, so that you can have a best-in-class software solution developed and delivered for your customers.

This book will help you to understand the product that your customer wants from you. It will guide you to deliver and solve the biggest problems you can face during development. It also covers the do’s and don’ts that you need to follow when you manage your application in a cloud-based environment. You will learn about different architectural approaches, such as layered architectures, service-oriented architecture, microservices, Single Page Applications, and cloud architecture, and understand how to apply them to specific business requirements.

Finally, you will deploy code in remote environments or on the cloud using Azure. All the concepts in this book will be explained with the help of real-world practical use cases where design principles make the difference when creating safe and robust applications. By the end of the book, you will be able to develop and deliver highly scalable and secure enterprise-ready applications that meet the end customers’ business needs.

It is worth mentioning that this book will not only cover the best practices that a software architect should follow for developing C# and .NET Core solutions, but it will also discuss all the environments that we need to master in order to develop a software product according to the latest trends.

This second edition was improved in code, and explanations, and was adapted to the new opportunities offered by C# 9 and .Net 5. We added all new frameworks and technologies that emerged in the last year such as gRPC, and Blazor, and described Kubernetes in more detail in a dedicated chapter.

Who this book is for

This book is for any software architect who wishes to improve their knowledge related to Azure Solutions with C#. It is also for engineers and senior developers who are aspiring to become architects or wish to build enterprise applications with the .NET stack. Experience with C# and .NET is required.

What this book covers

Chapter 1, Understanding the Importance of Software Architecture, explains the basics of software architecture. This chapter will give you the right mindset to face customer requirements, and then select the right tools, patterns, and frameworks.

Chapter 2, Non-Functional Requirements, guides you in an important stage of application development, that is, collecting and accounting for all constraints and goals that the application must fulfill, such as scalability, availability, resiliency, performance, multithreading, interoperability, and security.

Chapter 3, Documenting Requirements with Azure DevOps, describes techniques for documenting requirements, bugs, and other information about your applications. While most of the concepts are general, the chapter focuses on the usage of Azure DevOps and GitHub.

Chapter 4, Deciding the Best Cloud-Based Solution, gives you a wide overview of the tools and resources available in the cloud, and on Microsoft Azure. Here, you will learn how to search for the right tools and resources and how to configure them to fulfill your needs.

Chapter 5, Applying a Microservice Architecture to Your Enterprise Application, offers a broad overview of microservices and Docker containers. Here, you will learn how the microservices-based architecture takes advantage of all the opportunities offered by the cloud and you will see how to use microservices to achieve flexibility, high throughput, and reliability in the cloud. You will learn how to use containers and Docker to mix different technologies in your architecture as well as make your software platform independent.

Chapter 6, Azure Service Fabric, describes Azure Service Fabric that is Microsoft-specific microservices orchestrator. Here, you will implement a simple microservices based application.

Chapter 7, Azure Kubernetes Service, describes the Azure implementation of Kubernetes that is a de-facto standard for microservices orchestration. Here you will package and deploy microservices applications on Kubernetes.

Chapter 8, Interacting with Data in C# – Entity Framework Core, explains in detail how your application can interact with various storage engines with the help of Object- Relational Mappings (ORMs) and in particular with Entity Framework Core 5.0.

Chapter 9, How to Choose Your Data Storage in the Cloud, describes the main storage engines available in the cloud and in Microsoft Azure. Here, you will learn how to choose the best storage engines to achieve the read/write parallelism you need and how to configure them.

Chapter 10, Working with Azure Functions, describes the serverless model of computation and how to use it in the Azure cloud. Here, you will learn how to allocate cloud resources just when they are needed to run some computation, thus paying only for the actual computation time.

Chapter 11, Design Patterns and .NET 5 Implementation, describes common software patterns with .NET 5 examples. Here, you will learn the importance of patterns and best practices for using them.

Chapter 12, Understanding the Different Domains in Software Solutions, describes the modern Domain-Driven Design software production methodology, how to use it to face complex applications that require several knowledge domains, and how to use it to take advantage of cloud- and microservices-based architectures.

Chapter 13, Implementing Code Reusability in C# 9, describes patterns and best practices to maximize code reusability in your .NET 5 applications with C# 9. It also discusses the importance of code refactoring.

Chapter 14, Applying Service-Oriented Architectures with .NET Core, describes service oriented architecture, which enables you to expose the functionalities of your applications as endpoints on the web or on a private network so that users can interact with them through various types of clients. Here, you will learn how to implement service-oriented architecture endpoints with ASP.NET Core, and gRPC, and how-to self-document them with existing OpenAPI packages.

Chapter 15, Presenting ASP.NET Core MVC, describes in detail the ASP.NET Core framework. Here, you will learn how to implement web applications based on the Model-View-Controller (MVC) pattern and how to organize them according to the prescriptions of Domain-Driven Design, described in Chapter 12, Understanding the Different Domains in Software Solutions.

Chapter 16, Blazor WebAssembly, describes the new Blazor framework that leverages the power of WebAssembly to run .Net in the user browser. Here you will learn how to implement Single Page Applications in C#.

Chapter 17, Best Practices in Coding C# 9, describes best practices to be followed when developing .NET 5 applications with C# 9.

Chapter 18, Testing Your Code with Unit Test Cases and TDD, describes how to test your applications. Here, you will learn how to test .NET Core applications with xUnit and see how easily you can develop and maintain code that satisfies your specifications with the help of test-driven design.

Chapter 19, Using Tools to Write Better Code, describe metrics that evaluate the quality of your software and how to measure them with the help of all the tools included in Visual Studio.

Chapter 20, Understanding DevOps Principles, describes the basics of the DevOps software development and maintenance methodology. Here, you will learn how to organize your application’s continuous integration/continuous delivery cycle. It also describes how to automate the whole deployment process, from the creation of a new release in your source repository, through various testing and approval steps, to the final deployment of the application in the actual production environment. Here, you will learn how to use Azure Pipelines and GitHub Actions to automate the whole deployment process.

Chapter 21, Challenges of Applying CI Scenarios, complements the description of DevOps with continuous integration scenarios.

Chapter 22, Automation for Functional Tests , is dedicated to automatic functional tests – that is, tests that verify automatically whether a version of a whole application conforms to the agreed functional specifications. Here, you will learn how to simulate user operations with automation tools and how to use these tools together with xUnit to write your functional tests.

电子书说明:

  • 关于本书的内容介绍、目录、详情等请在 AmazonGoolge Books 等售书网站搜索查看,本站仅展示封面作为参考。
  • 如无特殊说明,本站提供的所有pdf均为文字版(aka True PDF or Digitally Created PDF)。
  • 本站已经列出的所有图书均可以找到。
  • 收到PDF链接之后建议尽快下载或者保存到自己的百度网盘,防止链接过期失效。

免费获取本书PDF

扫描下方二维码添加微信号 bookyage 回复本书编号 181154 即可,我们会尽快(一般24小时之内)将本书PDF文件以百度网盘链接的形式发送给您。

注意:每位用户只能免费获取1本书的pdf,超过1本之后需要以微信转账方式每本支付9.9元人民币代找费用才能继续收到相应的pdf。

如果看不到二维码,请按F5刷新本网页!或者直接添加微信号:bookyage