Home > Store

eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers

Register your product to gain access to bonus material or receive a coupon.

eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

Features

Filled with practical, hands-on examples, this will be the first book Microsoft developers go to when learning Agile development techniques

° Microsoft is encouraging developers using their tools to start using sound software development methodologies

° eXtreme programming is very well suited to the way many Microsoft developers work

° Author is well-respected in both the eXtreme Programming and .NET Developer worlds

° Book is full of practical experience and genuinely useful examples

Description

  • Copyright 2005
  • Edition: 1st
  • Book
  • ISBN-10: 0-321-30363-6
  • ISBN-13: 978-0-321-30363-9

"At last, somebody has introduced eXtreme Programming techniques to the world of .NET! Through enjoyable writing and tons of hands-on exercises, Dr. Neil explains how to use the best techniques from eXtreme Programming to vastly improve developer productivity within the .NET Framework."

—George Bullock, Program Manager, Microsoft Corporation

eXtreme .NET shows developers and team leaders how to incorporate eXtreme Programming (XP) practices with .NET-connected technologies to create high-quality, low-cost code that will build better software. This practical, realistic guidebook systematically covers key elements of XP methodology in the specific context of the Microsoft .NET Framework, Visual Studio .NET, Visual C#, and related Microsoft .NET-enabled applications.

Leading .NET and XP mentor Dr. Neil Roodyn covers planning, task definition, test-driven development, user interfaces, refactoring, spiking, pair programming, and much more. Dr. Neil offers field-proven advice for everything from automating builds to integrating third-party libraries. He also incorporates valuable exercises and presents a start-to-finish case study that shows exactly how XP and Microsoft .NET interoperate throughout an entire development project. Coverage includes

  • Where to start if you've never used XP or other Agile methods before

  • Pair programming: Turning .NET programming into a collaborative game

  • Test-Driven development: Making sure your .NET code works as intended while it's easiest to fix

  • Refactoring: Organizing your .NET code to improve flexibility and enable changes more readily

  • Continuous integration and automated build/test: Enhancing quality in distributed, component-based systems

  • Spiking: Using rapid experimentation to validate your expectations about behavior in the .NET Framework

  • The importance of customer input to successful projects

  • How to test .NET user interfaces and third-party libraries

The Microsoft .NET Framework is today's most productive development platform. XP represents a fundamental breakthrough in building higher-value software. Combine them: transform your team into an eXtreme .NET team that can accomplish more than ever before. This book will show you how—starting with your very next project.

Dr. Neil Roodyn has been actively involved with eXtreme Programming since 1999, and founded Sydney's eXtreme Programming Activity Club (SyXPAC). He has helped drive the adoption of the .NET Framework in Australia through his work as a project leader, consultant, instructor, and mentor. His clients have ranged from Microsoft to Rogue Wave and he has helped launch several software startups. Dr. Neil holds a Ph.D. from University College London where he specialized in software architectures for real-time systems.


© Copyright Pearson Education. All rights reserved.

Sample Content

Online Sample Chapters

How To Solve Big Software Development Problems

Spiking in eXtreme .NET

Downloadable Sample Chapter

Download the Sample Chapter related to this title.

Table of Contents

Foreword.

0. Setup.

1. eXtreme Programming Overview.

    What Is eXtreme Programming?

    Working in The Ever-Faster-Changing World.

      The Answers According to Microsoft.

      The Answers According to XP.

      How .NET and XP Fit Together.

    You Don't Have to "Believe" in XP to Learn Something from It.

    The Roles.

    What .NET Developers Can Gain from XP Practices.

    XP Practices Covered in This Book.

      Whole Team (a.k.a. On-Site Customer).

      Planning Game.

      Pair Programming.

      Test-Driven Development.

      Constant Refactoring.

      Spiking.

      Continuous Integration.

      Stand-Up Meetings.

    The Other Practices.

    The 4 (+ 1) Key Values.

      Communication.

      Simplicity.

      Feedback.

      Courage.

      Respect.

    Conclusion.

2. Pair Programming.

    I'm Not Sitting with Him!

      The Professional Attitude.

      Get With the Winning Approach.

    It's a Game.

      Exercise 2-1: Game to Teach Pair Programming.

      Exercise 2-2: Step-by-Step Exercise to Get a Feel for Pair Programming.

    Try It Together.

      Exercise 2-3: Exercises for Two Developers to   Work On Together.

    Conclusion.

3. How to Solve Big Problems.

    The Software Development Problem.

    The Genius Is in the Simplicity.

      Big, Complex Solutions.

      The Genius Function.

      Example of Problem Breakdown.

    Problem Breakdown Exercise.

      Exercise 3-1: Defining the Story.

      Exercise 3-2: Breaking Down the Stories into Small Subtasks.

      Exercise 3-3: Breaking Down the Subtasks Even Further.

    Exercises to Help You Toward Genius.

      Exercise 3-4: The Shopping Cart.

      Exercise 3-5: Derived Stock Market Data.

      Exercise 3-6: What's the Weather Like?

      Exercise 3-7: The Unfinished Solution.

    Conclusion.

4. Test-Driven Development.

    Is It Possible to Write Bug-Free Code?

    Increase the Quality of Your Code.

    The Big Why.

    Introducing Nunit.

    Creating a New Project in C# Using Nunit.

      Exercise 4-1: Get NUnit Up and Running.

      Exercise 4-2: Write a Test and Add Some Functionality.

      Exercise 4-3: Plug the Business Logic into the User Interface.

      Exercise 4-4: Plug the Business Logic into a Different User Interface.

      Exercise 4-5: Write a Test to Fix a Bug.

      Exercise 4-6: Write a Test and Then Add   Another Function.

      Exercise 4-7: Write a Test and Then Extract the Method.

      Exercise 4-8: Add the UI for Subtraction.

      Exercise 4-9: Extract Functionality Out of the UI Layer.

     How Do You Feel About TDD?

      Exercise 4-10: Without Tests.

      Exercise 4-11: With Tests.

      Confidence Test.

    Conclusion.

5. Refactoring.

    What Is Refactoring.

    Do It As You Go.

    The Importance of Tests.

    The Benefits.

      Feedback.

      Communication.

      Simplicity.

    Some More Big "Why" Questions.

      Why Should I Do It When No One Else Does?

      Why Do Something That Doesn't Add Any New Features to the Code?

    Let's Start Refactoring.

      Exercise 5-1: Currency Converter Refactoring.

    When Not to Refactor.

    Conclusion.

6. Spiking.

    You Can't Know Everything.

    Raise Your Confidence.

    Let's Discover Something.

      Exercise 6-1: Spiking How Time Zone Data Works in Windows.

    Encode the Knowledge in Tests.

    Go Where No Man Has Gone Before.

      Exercise 6-2: Spike Web Services Without a Web Server.

      Exercise 6-3: Spike Session State Across Service Calls.

      Exercise 6-4: Spike Drag and Drop Documents in a Rich Text Control.

    Conclusion.

7. Automating the Build Process.

    What is the Build Process?

    What's Wrong with F5?

    I Make Mistakes.

    If a Computer Can Do It, Then It Should.

    Do It the Old Way.

      Exercise 7-1: Creating an Integration Build Batch File.

    Introduction to Nant.

      Exercise 7-2: Using NAnt to Automate   the Build Process.

    Conclusion.

8. More Testing.

    User-Interface Testing.

      It's Not Possible!

      "We Are a Special Case".

    An Issue of Architecture.

      Exercise 8-1: Building a Thin GUI Layer to Make Testing Easier.

      Stamper Part Two.

      Stamper Part Three.

      Exercise 8-2: Using Reflection to Test the GUI.

      Exercises on Your Own.

    Testing Third-Party Libraries.

      We All Do It.

      The .NET Framework Is a Third-Party Library!

      Component-Based Software Development Is Here.

      If It Goes Wrong, We're All in the Brown Stuff.

      Put the Alarms in Place.

    Step-by-Step Exercises Using a Third-Party Library.

      Exercise 8-5: Setting Up NUnit (Again!).

      Exercise 8-6: The Quick Breadth Test.

      Exercise 8-7: The Functional Depth Test.

      Exercise 8-8: Testing for Exceptions.

      Exercise 8-9: Examining the Code.

      Exercise 8-10: Writing a Breadth Test.

      Exercise 8-11: Getting the Breadth Test Running.

      Exercise 8-12: Writing a Test to Break the Code.

      Exercise 8-13: Forcing an Intermittent Error.

    Coding with Protection.

      Exercise 8-14: Protecting Yourself Against the Change.

      Exercise 8-15: Plugging In the New Changed Library.

    Conclusion.

9. Step-by-Step Development.

    Step by Step by Step.

    A Strategy to Lower the Risk of Failure.

      Step-by-Step Exercise to Demonstrate the Small-Step Approach.

    Conclusion.

Appendix I. Guideline Solutions for Task Breakdown Exercises in Chapter 3.

    Exercise 3-4: The Shopping Cart.

    Exercise 3-5: Derived Stock Market Data.

    Exercise 3-6: What's the Weather Like?

    Exercise 3-7: The Unfinished Solution.

Appendix II. Building Your Own Simple Test Framework with Excel

Appendix III. Recommended Reading.

    Important Books for Software Developers Working in Teams.

    XP-Specific Books.

    XP-Specific Web Sites.

    Agile Techniques Books.

    Agile Web Sites.

    Agile Tools Web Sites.

    A Book About Change.

Index.

Index

Download the Index file related to this title.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020