/Clean-Code-with-CSharp-Second-Edition

Clean Code with C# Second Edition, published by Packt

Primary LanguageLLVMMIT LicenseMIT

Clean Code with C# Second Edition

This is the code repository for Clean-Code-with-C-Second-Edition, published by Packt.

Refactor your legacy C# code base and improve application performance using best practices

What is this book about?

Learn how to write readable, maintainable, and high-performing code with this clean coding guide encompassing coding best practices, including industry standards, code analysis, and code smell detection, and effective code refactoring. Additionally, you’ll also cover functional programming, cross-platform development using MAUI, and microservices.

This book covers the following exciting features:

  • Master the art of writing evolvable and adaptable code
  • Implement the fail-pass-refactor methodology using a sample C# console application
  • Develop custom C# exceptions that provide meaningful information
  • Identify low-quality C# code in need of refactoring
  • Improve code performance using profiling and refactoring tools
  • Create efficient and bug-free code using functional programming techniques
  • Write cross-platform code using MAUI
  • Develop cloud-deployable microservices for versatile applications

If you feel this book is for you, get your copy today!

Instructions and Navigations

The code will look like the following:

using CH10_DividendCalendar.Security.Authentication;
using System.Threading.Tasks;

namespace CH10_DividendCalendar.Repository { 
    public interface IRepository 
    { 
        Task<ApiKey> GetApiKey(string providedApiKey); 
    } 
}

Following is what you need for this book: This coding book is for proficient C# developers, team leads, senior software engineers, and software architects who want to improve the efficiency of their legacy systems. A strong understanding of C# programming is assumed.

With the following software and hardware list you can run all code files present in the book (Chapter 1-13).

Software and Hardware List

Software/ Hardware required OS required/ Other requirements
Visual Studio 2019 Windows 10, macOS
Atom Windows 10, macOS, Linux: https://atom.io/
Azure resources Azure subscription: https://azure.microsoft.com/en-gb/
Azure Key Vault Azure subscription: https://azure.microsoft.com/en-gb/
The Morningstar API Obtain your own API key from https://rapidapi.com/integraatio/api/morningstar1
Postman Windows 10, macOS, Linux: https://www.postman.com/

Related products

Get to Know the Author

Jason Alls Jason Alls has been programming for over 21 years using Microsoft technologies. Working with an Australasian company, he started his career developing call center management reporting software used by global clients including telecom providers, banks, airlines, and the police. He then moved on to develop GIS marketing applications and worked in the banking sector performing data migrations between Oracle and SQL Server. Certified as an MCAD in C# since 2005, he has been involved in the development of various desktop, web, and mobile applications.

Currently employed by a globally recognized leader in the educational software sector, he develops and supports dyslexia testing and assessment software written in ASP.NET, Angular, and C#.

Other Books by the Author