Поиск  
Always will be ready notify the world about expectations as easy as possible: job change page
Книги для разработчиков

Refactoring with C#

Refactoring with C#

Safely improve .NET applications and pay down technical debt with Visual Studio, .NET 8, and C# 12
Автор:
Год:
Страниц:
434
Просмотров:
839
Refactoring with C# favorites 0
Описание

Learn how to improve the maintainability of C# code using modern tools and techniques so you and your team can resolve technical debt and work safely and efficiently with legacy code. Software projects start as brand-new “greenfield” projects, but invariably become muddied down in technical debt far sooner than we expect. In Refactoring with C# we’ll explore what technical debt is and how it arises before walking through the process of safely refactoring C# code using modern tooling in Visual Studio and more recent C# language features using C# 12 and .NET 8. This book will guide you through the process of refactoring safely through advanced unit testing with XUnit and libraries like Moq, Snapper, and Scientist .NET.

We’ll explore maintainable code through SOLID principles and defensive coding techniques made possible in newer versions of C#. We’ll also cover code analysis and writing custom Roslyn Analyzers to detect and resolve issues unique to your code. The nature of coding is changing and we’ll explore using AI with GitHub Copilot Chat to refactor, test, document, and generate code before ending with a discussion of communicating technical debt to leadership and getting organizational buy-in to refactor your code in enterprise organizations and on agile teams.

By the end of this book you’ll understand the nature of refactoring and see how you can safely, effectively, and repeatably pay down the technical debt in your application while continuing to add value to your business. This book is for any developer familiar with C# who wants to improve the code they work with on a day-to-day basis. While this book will be most beneficial to developers with only a year or two of experience, even senior engineers and engineering managers will get something out of this book as we explore not just the process of refactoring, but advanced techniques with libraries like Moq, Snapper, Scientist .NET and by writing custom Roslyn Analyzers and even applying AI through GitHub Copilot Chat and modern language features with .NET 8 and C# 12.

Похожее
Шаблоны тестирования xUnit. Рефакторинг кода тестов
Автор: Джерард Месарош
Год: 2009
В данной книге показано, как применять принципы разработки программного обеспечения, в частности шаблоны проектирования, инкапсуляцию, исключение повторений и описательные имена, к написанию кода тестов. В части I рассматриваются теоретические основы методов разработки тестов и описываются концепции шаблонов и "запахов" тестов...
Advanced ASP.NET Core 8 Security, Second Edition
Автор: Scott Norberg
Год: 2024
Most .NET developers do not incorporate security best practices when creating websites. The problem? Even if you use all of the best practices that the ASP.NET team recommends, you are still falling short in several key areas due to issues...
Migrating ASP.NET Microservices to ASP.NET Core 8, Second Edition
Автор: Iris Classon
Год: 2024
In this second edition, you will be guided through the journey of migrating an ASP.NET Framework application to ASP.NET Core microservices. You will know how to master the following steps: conduct an inventory, prepare the application, plan the migration, execute...
Pro .NET Memory Management, Second Edition
Автор: Konrad Kokosa, Christophe Nasarre, Kevin Gosse
Год: 2024
Understand .NET memory management internal workings, pitfalls, and techniques in order to effectively avoid a wide range of performance and scalability problems in your software. Despite automatic memory management in .NET, there are many advantages to be found in understanding...
Написать сообщение
Тип
Почта
Имя
*Сообщение
RSS
Если вам понравился этот сайт и вы хотите меня поддержать, вы можете
Soft skills: 18 самых важных навыков, которыми должен владеть каждый работник
Проблема понимания существующего кода, или Как делать иногда [не] надо
Как мы столкнулись с версионированием и осознали, что вариант «просто проставить цифры» не работает
Почему сеньоры ненавидят собеседования с кодингом, и что компании должны использовать вместо них
Функции и хранимые процедуры в PostgreSQL: зачем нужны и как применять в реальных примерах
Гороскоп для разработчиков
9 тяжёлых уроков, которые я усвоил за 18 лет разработки
Зачем нужен MediatR?
Выгорание эволюционирует. Что такое «тихий уход» — новый тренд среди офисных сотрудников
Как лучше проводить one-to-one со своими сотрудниками: 5 лайфхаков из личного опыта
Boosty
Donate to support the project
GitHub account
GitHub profile