How do we do Continuous Integration for a .NET team

Posted on 2007-10-17
Last Modified: 2013-11-15
Hi experts,
My .NET team has been asked look at Continuous Integration, similar to Hudson (a parallel to CruiseControl).  I've come across several articles:

But this is totally new to us.  Any good recommendations on how to do Continuous Integration for a .NET team?

Thanks in advance
Question by:prgMan
    LVL 2

    Expert Comment

    With continues integration (CI), your team should be checking in code more often so that you get the full benefits of a continues integration platform.

    Also, I would suggest that when moving code to your QA environment that you use the executables that were produced on from the CI system. This is due the the fact that this machine is more likely to have no extra software which also means that you have a better chance of replicating your production environment (on a smaller scale) than if your developers were delivering code executables from their desktop environments.
    LVL 2

    Accepted Solution

    Assuming that you are practicing Test Driven Development (TDD), here are the steps that I would recommend

    1) Create NUnit tests for each individual class and pre-pend the work Test on the test class name
    2) Create class and methods for the domain
    3) Create NAnt script. Then running the NUnit task make sure that you are only running classes that start with Test (see step 1 above)
    4) Check in code and run tests on code that has been checked in.

    Now, you will know when you are done when all of your NUnit tests pass (see a green status)

    Please not that it is suggested that everytime you have a small unit of work completed that you check in the code so that everyone on the team can have access to the changes as well as giving management a way to measure progress in a more timely manner.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    Viewers will learn how to use the Hootsuite Dashboard.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now