Summary
This chapter presented tools that can be used to apply the best practices of coding described in Chapter 17, Best Practices in Coding C# 9. We looked at the Roslyn compiler, which enables code analysis at the same time the developer is coding, and we looked at a use case, evaluating C# code prior to publishing an application, which implements code analysis during the Azure DevOps building process using Sonar Cloud.
As soon as you apply everything you have learned in this chapter to your projects, the code analysis will give you the opportunity to improve the quality of the code you are delivering to your customer. This is a very important part of your role as a software architect.
In the next chapter, you will be deploying your application with Azure DevOps.