Pro .NET Best Practices [electronic resource] /
Ritchie, Stephen.author.
Pro .NET Best Practices is a practical reference to the best practices that you can apply to your .NET projects today. You will learn standards, techniques, and conventions that are sharply focused, realistic and helpful for achieving results, steering clear of unproven, idealistic, and impractical recommendations. Pro .NET Best Practices covers a broad range of practices and principles that development experts agree are the right ways to develop software, which includes continuous integration, automated testing, automated deployment, and code analysis. Whether the solution is from a free and open source or a commercial offering, you will learn how to get a continuous integration server running and executing builds every time code changes. You will write clearer and more maintainable automated testing code that focuses on prevention and helping your .NET project succeed. By learning and following the .NET best practices in this book, you will avoid making the same mistakes once. With this book at your side, you'll get: Real-world, no-nonsense approaches to continuous integration, automated testing, automated deployment, and code analysis Tips and tricks you'll need to clear hurdles that keep others from putting these common sense ideas into common practice Guidance from the minimal, essential approach all the way to what's necessary to deliver at the highest levels of quality and effectiveness Benefit immediately, even before finishing it, from the knowledge, workable advice, and experience found in Pro .NET Best Practices.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Who This Book Is For; Developers; Team Leaders; How This Book Is Structured; Prerequisites; Downloading the Code; Contacting the Author; CHAPTER 1 Ruthlessly Helpful; Practice Selection; Practicable; Generally Accepted and Widely Used; Valuable; Archetypal; Target Areas for Improvement; Delivery; Quality; Relationships; Overall Improvement; Balance; Renewal; Sustainability; Summary; CHAPTER 2 .NET Practice Areas; Internal Sources; Technical Debt
Defect Tracking SystemRetrospective Analysis; Prospective Analysis; Application Lifecycle Management; Patterns and Guidance; Framework Design Guidelines; Microsoft PnP Group; Presentation Layer Design Pattenrns; Object-to-Object Mapping; Dependency Injection; Research and Development; Automated Test Generation; Code Contracts; Microsoft Security Development Lifecycle; Summary; CHAPTER 3 Achieving Desired Results; Success Conditions; Project Inception; Out of Scope; Diversions and Distractions; The Learning/Doing Balance; Common Understanding; Wireframe Diagrams; Documented Architecture
Report MockupsDetailed Examples; Build an Archetype; Desired Results; Deliverables; Positive Outcomes; Trends; Summary; CHAPTER 4 Quantifying Value; Value; Financial Benefits; Improving Manageability; Increasing Quality Attributes; More Effectiveness; Sources of Data; Quantitative Data; Qualitative Data; Anecdotal Evidence; Summary; CHAPTER 5 Strategy; Awareness; Brainstorming; Planning; Monitoring; Communication; Personal Process; Commitment to Excellence; Virtuous Discipline; Effort and Perseverance; Leverage; Automation; Alert System; Experience and Expertise; Summary
CHAPTER 6 .NET Rules and RegulationsCoding Standards and Guidelines; Sources; Exceptions; Disposable Pattern; Miscellaneous; Calling Virtual Methods in Constructors; Defining a Zero-Value enum Element; Returning an Empty Instance; Publicly Visible static readonly Fields; Code Smells; Comments; Way Too Complicated; Unused, Unreachable, and Dead Code; Summary; CHAPTER 7 Powerful C# Constructs; Extension Methods; Implicitly Typed Local Variables; Nullable Types; The Null-Coalescing Operator; Optional Parameters; Generics; LINQ; Summary; CHAPTER 8 Automated Testing; Case Study
Brownfield ApplicationsGreenfield Applications; Automated Testing Groundwork; Test Code Maintainability; Naming Convention; Namespaces; Tests Classes; Test Methods; The Test Method Body; Arrange-Act-Assert; Keep Tests Short; Limit Test Actions; Primary Assertion; The var Keyword; Test Context Classes; Test Helpers; Data Scenarios; Unit Testing; Boundary Analysis; Invalid Arguments; Invalid Preconditions; Fakes, Stubs, and Mocks; Isolating Code-Under-Test; Testing Dependency Interaction; Surface Testing; Automated Integration Testing; Database Considerations; Summary
CHAPTER 9 Build Automation
Includes bibliographical references and index.
Includes index.
Pro .NET Best Practices is a practical reference to the best practices that you can apply to your .NET projects today. You will learn standards, techniques, and conventions that are sharply focused, realistic and helpful for achieving results, steering clear of unproven, idealistic, and impractical recommendations. Pro .NET Best Practices covers a broad range of practices and principles that development experts agree are the right ways to develop software, which includes continuous integration, automated testing, automated deployment, and code analysis. Whether the solution is from a free and open source or a commercial offering, you will learn how to get a continuous integration server running and executing builds every time code changes. You will write clearer and more maintainable automated testing code that focuses on prevention and helping your .NET project succeed. By learning and following the .NET best practices in this book, you will avoid making the same mistakes once. With this book at your side, you'll get: Real-world, no-nonsense approaches to continuous integration, automated testing, automated deployment, and code analysis Tips and tricks you'll need to clear hurdles that keep others from putting these common sense ideas into common practice Guidance from the minimal, essential approach all the way to what's necessary to deliver at the highest levels of quality and effectiveness Benefit immediately, even before finishing it, from the knowledge, workable advice, and experience found in Pro .NET Best Practices.
Microsoft .NET Framework.
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.