Dec 5 2019

My new book: Hands-On Software Architecture with C# 8 and .NET Core 3.

Category: Francesco @ 07:06

Design scalable and high-performance enterprise applications using the latest features of .NET Core 3 and Azure Cloud.

All you need to enter the world of Cloud, Micro-Services, distributed databases, and modern enterprise architectures in a single place. You’ll begin by understanding how to transform user requirements into architectural needs and exploring the differences between functional and non-functional requirements. Next, you’ll explore how to carefully choose a cloud solution for your infrastructure, along with covering dos and don’ts that will help you manage your app in a cloud-based environment. Later chapters will cover techniques and processes such as DevOps, microservices, continuous integration, and Domain Driven Design, along with providing insights into implementing them using Microsoft technologies such as ASP.NET Core, the Entity Framework, Cosmos DB, and Azure DevOps. You will also learn about testing frameworks and automation tools that will help you through the development process. Finally, you’ll discover design patterns and various software approaches that will allow you to solve common problems faced during development.

By the end of this book, you’ll be able to develop and deliver highly scalable enterprise-ready apps that meet customers’ business needs.

What the book covers in detail.


  • Chaper1. 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. Functional and Nonfunctional Requirements, guides you in the first stage of application development, that is, collecting user requirements and accounting for all other constraints and goals that the application must fulfill.

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.

Chapter 4. Deciding the Best Cloud-Based Solution, gives you a wide overview of the tools and resources available in the cloud, and in particular 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. 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 Entity Framework Core 3.0.

Chapter 7. How to Choose Your Data Storage in the Cloud, describes the main storage engines available in the cloud and, in particular, 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 8. 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 9. Design Patterns and .NET Core Implementation,describes common software patterns with .NET Core 3 examples. Here, you will learn the importance of patterns and best practices for using them.

Chapter 10. Understanding the Different Domains in a Software Solution, describes the modern domain-driven design software production methodology, how to use it to face complex applications that involve several knowledge domains and how to use it to take advantage of cloud- and microservices-based architectures.

Chapter 11. Implementing Code Reusability in C# 8, describes patterns and best practices to maximize code reusability in your C# .NET Core applications.

Chapter 12. 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 how to self-document them with existing OpenAPI packages.

Chapter 13. 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 10 Understanding the Different Domains in a Software Solution.

Chapter 14. Best Practices in Coding C# 8, describes best practices to be followed when developing .NET Core applications with C# 8.

Chapter 15. 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 16. 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 17. Deploying Your Application with Azure DevOps, describes Software as a Service (SaaS) scenarios, and how to automatize the deployment of new application versions with Azure DevOps.

Chapter 18. 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.

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

Chapter 20. Automation for Software Testing, is dedicated to automatic acceptance tests – that is, tests that verify automatically whether a version of a whole application conforms with the agreed 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 acceptance tests.