
Refactoring with C#: Safely improve .NET applications and pay down technical debt with Visual Studio, .NET 8, and C# 12, (Paperback)
Key item features
- Refactoring with C#: Safely improve .NET applications and pay down technical debt with Visual Studio, .NET 8, and C# 12, (Paperback)
- Author: Packt Publishing
- ISBN: 9781835089989
- Format: Paperback
- Publication Date: 2023-11-24
- Page Count: 434
Specs
- Book formatPaperback
- Fiction/nonfictionNon-Fiction
- GenreComputing & Internet
- Pub date2023-11-24
- Pages434
- SubgenreProgramming
- Free shipping
Free 30-day returns
How do you want your item?
About this item
Product details
Learn how to improve the maintainability of C# code using modern tools and techniques to resolve technical debt while working safely and efficiently with legacy code
Key Features:
- Apply a wide range of refactoring techniques using the latest tools and features of C#
- Discover ways to safely improve your code using tests, Roslyn analyzers, and AI assistance
- Find ways of communicating technical debt and improving your code in agile and enterprise settings
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
Software projects start as brand-new greenfield projects, but invariably become muddied in technical debt far sooner than you'd expect. In Refactoring with C#, you'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, written by a Microsoft MVP, will guide you through the process of refactoring safely through advanced unit testing with XUnit and libraries like Moq, Snapper, and Scientist .NET. You'll explore maintainable code through SOLID principles and defensive coding techniques made possible in newer versions of C#. You'll also find out how to run code analysis and write custom Roslyn analyzers to detect and resolve issues unique to your code.
The nature of coding is changing, and you'll explore how to use AI with the GitHub Copilot Chat to refactor, test, document, and generate code before ending with a discussion about communicating technical debt to leadership and getting organizational buy-in to refactor your code in enterprise organizations and in 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 adding value to your business.
What You Will Learn:
- Understand technical debt, its causes and effects, and ways to prevent it
- Explore different ways of refactoring classes, methods, and lines of code
- Discover how to write effective unit tests supported by libraries such as Moq
- Understand SOLID principles and factors that lead to maintainable code
- Use AI to analyze, improve, and test code with the GitHub Copilot Chat
- Apply code analysis and custom Roslyn analyzers to ensure that code stays clean
- Communicate tech debt and code standards successfully in agile teams
Who this book is for:
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 new developers with only a year or two of experience, even senior engineers and engineering managers can make the most of this book by exploring not just the process of refactoring, but advanced techniques with libraries like Moq, Snapper, Scientist .NET, and writing custom Roslyn analyzers.
Table of Contents
<- Refactoring with C#: Safely improve .NET applications and pay down technical debt with Visual Studio, .NET 8, and C# 12, (Paperback)
- Author: Packt Publishing
- ISBN: 9781835089989
- Format: Paperback
- Publication Date: 2023-11-24
- Page Count: 434
Specifications
Book format
Fiction/nonfiction
Genre
Pub date
Warranty
Warranty information
Similar items you might like
Based on what customers bought
Introducing .Net Maui: Build and Deploy Cross-Platform Applications Using C# and .Net 9.0 Multi-Platform App Ui, (Paperback) $44.29
$4429current price $44.29Introducing .Net Maui: Build and Deploy Cross-Platform Applications Using C# and .Net 9.0 Multi-Platform App Ui, (Paperback)
Metaprogramming in C#: Automate your .NET development and simplify overcomplicated code, (Paperback) $43.13
$4313current price $43.13Metaprogramming in C#: Automate your .NET development and simplify overcomplicated code, (Paperback)
Design Patterns for Embedded Systems in C: An Embedded Software Engineering Toolkit, (Paperback) $50.96
$5096current price $50.96Design Patterns for Embedded Systems in C: An Embedded Software Engineering Toolkit, (Paperback)
C# Data Structures and Algorithms: Explore the possibilities of C# for developing a variety of efficient applications (Paperback) $51.72
$5172current price $51.72C# Data Structures and Algorithms: Explore the possibilities of C# for developing a variety of efficient applications (Paperback)
15 out of 5 Stars. 1 reviewsWhy Learn C: Go Behind the Curtain of Modern Systems with C23, (Paperback) $52.86
$5286current price $52.86Why Learn C: Go Behind the Curtain of Modern Systems with C23, (Paperback)
Mastering Visual Studio 2022: Develop apps like a pro with advanced Visual Studio techniques using C# and .NET, (Paperback) $38.83
$3883current price $38.83Mastering Visual Studio 2022: Develop apps like a pro with advanced Visual Studio techniques using C# and .NET, (Paperback)
Distributed .NET with Microsoft Orleans: Build robust and highly scalable distributed applications without worrying about complex programming patterns (Paperback) $40.55
$4055current price $40.55Distributed .NET with Microsoft Orleans: Build robust and highly scalable distributed applications without worrying about complex programming patterns (Paperback)
C in Embedded Systems: A practical transition from C to modern C , (Paperback) $39.60
$3960current price $39.60C in Embedded Systems: A practical transition from C to modern C , (Paperback)
Minimal APIs in ASP.NET 9 - Second Edition: Design, implement, and optimize robust APIs in C# with .NET 9, (Paperback) $24.50
$2450current price $24.50Minimal APIs in ASP.NET 9 - Second Edition: Design, implement, and optimize robust APIs in C# with .NET 9, (Paperback)
.Net Developer: Enterprise Development with Visual Studio .Net, Uml, and Msf (Paperback) $43.40
$4340current price $43.40.Net Developer: Enterprise Development with Visual Studio .Net, Uml, and Msf (Paperback)
Practical C Game Programming with Data Structures and Algorithms: Write high-performance code and solve game developme, (Paperback) $39.99 Was $44.99
$3999current price $39.99, Was $44.99$44.99Practical C Game Programming with Data Structures and Algorithms: Write high-performance code and solve game developme, (Paperback)
Crushing The Technical Interview: Data Structures And Algorithms (C Edition), (Paperback) $47.75
$4775current price $47.75Crushing The Technical Interview: Data Structures And Algorithms (C Edition), (Paperback)
Refactoring for Software Design Smells: Managing Technical Debt, (Paperback) $80.30
$8030current price $80.30Refactoring for Software Design Smells: Managing Technical Debt, (Paperback)
de Gruyter Stem Elementary Synchronous Programming: In C and Java Via Algorithms, (Paperback) $45.29
$4529current price $45.29de Gruyter Stem Elementary Synchronous Programming: In C and Java Via Algorithms, (Paperback)
Asynchronous Programming with C : Build blazing-fast software with multithreading and asynchronous programming for ulti, (Paperback) $40.55
$4055current price $40.55Asynchronous Programming with C : Build blazing-fast software with multithreading and asynchronous programming for ulti, (Paperback)
Programming APIs with C# and .NET: Develop high-performance APIs that ensure seamless application communication and enha, (Paperback) $43.13
$4313current price $43.13Programming APIs with C# and .NET: Develop high-performance APIs that ensure seamless application communication and enha, (Paperback)
Apress Pocket Guides Task Programming in C# and .Net: Modern Day Foundation for Asynchronous Programming, (Paperback) $9.07 Was $10.81
$907current price $9.07, Was $10.81$10.81Apress Pocket Guides Task Programming in C# and .Net: Modern Day Foundation for Asynchronous Programming, (Paperback)
Microsoft Visual Studio 2008 Programming, (Paperback) $47.65
$4765current price $47.65Microsoft Visual Studio 2008 Programming, (Paperback)
Learn Microsoft Visual Studio App Center: With Xamarin Forms, (Paperback) $45.29
$4529current price $45.29Learn Microsoft Visual Studio App Center: With Xamarin Forms, (Paperback)
Thinking in Linq: Harnessing the Power of Functional Programming in .Net Applications, (Paperback) $65.54
$6554current price $65.54Thinking in Linq: Harnessing the Power of Functional Programming in .Net Applications, (Paperback)
