Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Refactoring with C# - Safely improve NET applications and pay down technical debt with Visual Studio NET 8 and C# 12 - cover

Refactoring with C# - Safely improve NET applications and pay down technical debt with Visual Studio NET 8 and C# 12

Matt Eland

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

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.
Available since: 11/24/2023.
Print length: 434 pages.

Other books that might interest you

  • Plasma Physics - Exploring the Fourth State of Matter - cover

    Plasma Physics - Exploring the...

    Mark Hedges

    • 0
    • 0
    • 0
    Plasma, often referred to as the fourth state of matter, is a unique and dynamic state in which gas is ionized, allowing free electrons and ions to coexist. Unlike solids, liquids, and gases, plasma exhibits collective behavior due to long-range electromagnetic interactions among its charged particles. It is the most abundant form of matter in the universe, making up stars, the interstellar medium, and even artificial applications on Earth. 
    The concept of plasma dates back to the late 19th and early 20th centuries when scientists first began studying ionized gases. The term "plasma" was coined in 1928 by Irving Langmuir while researching electrical discharges in gases. Since then, plasma physics has evolved into a vast field, influencing multiple scientific and technological disciplines, including astrophysics, nuclear fusion, space exploration, and industrial applications. 
    One of the defining characteristics of plasma is its ability to conduct electricity and respond to magnetic fields. Unlike neutral gases, where collisions dominate particle interactions, plasmas are governed by electromagnetic forces, leading to complex behaviors such as waves, instabilities, and turbulence. This property allows plasmas to sustain structures like magnetospheres around planets and controlled fusion reactors designed for energy production.
    Show book
  • In Days Gone By - cover

    In Days Gone By

    Mike Blake

    • 0
    • 0
    • 0
    "This Poem 'In Days Gone By - Newbury'. Part 3 of the series Nature: Natural Healing.A time when most of the UK Countryside was criss-crossed by small roads and slow moving cars.And the pace was slower and more durable for nature.A delicate balance had been formed between the new motor car and the hedgerows and byways that struck a chord of harmony between each other. Broken now, with too many Motorways and not enough cycle lanes - leaving nature, floundering.I the Author have been writing Poetry for around 20 years. Most of it has been published on Amazon. I write on varied topics which resonate with what I'm thinking or studying at that time.Credit for the artwork on this piece, goes to Mike Miko for his interpretation of this poem into pictorial Art form." His skill in depicting the scenes of the Newbury bypass running through the heart of a forest, with a ghostly image of Swampies son, was truly remarkable.
    Show book
  • Peace & Tranquility: On Mars - Cosmos - cover

    Peace & Tranquility: On Mars -...

    Mike Blake

    • 0
    • 0
    • 0
    Peace & Tranquility :: On Mars.This Poem was inspired by the film 'The Martian' released in 2015. Matt Damon was the single character actor that held center stage, in beautiful isolation (except for, in the film of certain death)  As being isolated on the Red Planet is Peaceful & Tranquil, but lethal.Part of the Cosmos Series of Poems.
    Show book
  • The Christian in the Cult - And How I Discovered Humanity in Christ - cover

    The Christian in the Cult - And...

    Jim Valekis

    • 0
    • 0
    • 0
    Have you ever wondered if your own faith community might be more cult-like than Christ-like? 
    Jim Valekis has. He spent 40 years in religious communities, where he served alongside dedicated believers who faithfully pursued God—and yet also witnessed leadership and teachings that hindered rather than helped the spread of God’s Word. His shocking discovery: when culture becomes the lens through which you view Christ, cult-like thinking can take root and infiltrate even the most earnest Christian community. 
    This powerful and raw memoir reveals how Valekis navigated four different "cult"ures: the Greek Orthodox tradition, Herbert Armstrong's Worldwide Church of God, American Evangelicalism, and—the worst—his own personal struggle with his preferred world view. 
    More than a narrative of one man’s experience, The Christian in the Cult offers tools for spiritual discernment while providing hope for those wounded by religious authority. The author’s honest spiritual journey culminates in a profound understanding of God’s faithfulness, which transforms how believers engage with their faith communities and share the Gospel. 
    With equal parts caution and urgent call to action, Valekis will help you recognize when religious culture obscures Christ's message, develop discernment to navigate faith communities wisely, and discover the freedom we can only find when we are truly living in Christ.
    Show book
  • Forest Animal Mandala - Audiobook Poetry Version - cover

    Forest Animal Mandala -...

    Linda Maureen Loewer

    • 0
    • 0
    • 0
    Forest Animal Mandala - Audiobook Poetry Version is a beautifully immersive journey through a poetic and metaphoric forest landscape. This audiobook blends vivid storytelling with deep imagery, guiding listeners through a world where trees whisper, rivers sing, and fireflies carry forgotten secrets. Each moment unfolds like a dream, filled with curiosity, wonder, and a touch of mystery. 
    Designed as an artistic and meditative experience, this audiobook invites listeners to lose themselves in nature’s timeless rhythm. Ideal for those who love atmospheric storytelling, poetic narratives, and tranquil nature-inspired reflections. 
    Step into the forest, follow the fireflies, and let the whispers of the woods awaken your imagination. 
    Self-published by Linda M. Loewer.
    Show book
  • Unlearning Helplessness - A Guide to Reclaiming Your Power - cover

    Unlearning Helplessness - A...

    Dan Crown

    • 0
    • 0
    • 0
    Unlearning Helplessness: A Guide to Reclaiming Your Powerby Dan CrownIn a world where negativity, fear, and a sense of powerlessness often dominate our lives, Unlearning Helplessness: A Guide to Reclaiming Your Power by Dan Crown is a beacon of hope and empowerment. This book is not just another self-help guide; it's a transformative journey aimed at helping readers break free from the chains of learned helplessness—the belief that they are unable to influence or change their own lives.Dan Crown draws on psychological insights, personal experiences, and practical strategies to show readers how to regain control, build resilience, and rediscover the power that lies within. Whether you're struggling with career challenges, personal relationships, or internal obstacles, this book offers a path to reclaim your life.Main Themes of the Book:•Understanding Learned Helplessness: Crown begins by exploring the psychological concept of learned helplessness—how repeated exposure to negative situations can lead individuals to believe that they are powerless to change their circumstances. He dives deep into how this mindset can manifest in daily life, affecting mental health, relationships, and overall well-being.•The Power of Mindset: A key focus of the book is on the importance of mindset. Drawing from cognitive behavioral therapy (CBT), Crown emphasizes how shifting your thinking from a fixed, helpless perspective to one of growth and possibility is the foundation for reclaiming your power.•Reclaiming Control: Through practical exercises and case studies, the book offers readers tools to regain control over their thoughts, emotions, and actions. Crown shows how small, consistent changes in behavior can lead to significant improvements in confidence, self-efficacy, and life satisfaction.•Building Resilience: A major part of overcoming helplessness is building resilience—the ability to bounce back from adversity. Crown presents strategies for strengthening emotional
    Show book