Pro Yearly is on sale from $80 to $50! »

CD - Making it work with Windows and .NET

86de5d185c65b3581247a2e1d7e32c3c?s=47 Chris
February 23, 2016

CD - Making it work with Windows and .NET

Co-Presented with Matthew Skelton (


The technologies and approaches for Continuous Delivery are essentially identical across different operating systems, but some things need special treatment for Windows and .NET. When Jez Humble and Dave Farley published their groundbreaking book 'Continuous Delivery' in 2010, many of the tools described were either nonexistent on the Windows platform or did not support the rich automation capabilities they do now.

This talk aims to encourage many more teams working with Windows and .NET to adopt Continuous Delivery by sharing real-world success stories of organisations using Windows and .NET for Continuous Delivery; the speakers share their first-hand experience in different organisations and also explore some case studies from the new O'Reilly eBook 'Continuous Delivery with Windows and .NET'.

Given at London CD Meetup 23rd February 2016:



February 23, 2016


  1. Continuous Delivery making it work with Windows and .NET

    Chris O’Dell and Matthew Skelton
  2. why a special focus for .NET? some case studies

    recommendations (download the book!)
  3. Continuous Delivery with Windows and .NET Chris O’Dell and

    Matthew Skelton O’Reilly, February 2016 FREE via
  4. Chris O’Dell .NET wunderkind @ChrisAnnODell who Matthew Skelton grouchy

    build monkey @matthewpskelton
  5. Why a special focus for .NET?

  6. Windows/.NET around 2010 • No native Package Management •

    Very limited automation • Point and click configuration • Monolithic configuration (SCCM etc.)

  8. Windows/.NET in 2016 • PowerShell APIs for all MS

    products • NuGet, Chocolatey, OneGet, … • 1st-class Git experience on Windows • Native Windows/.NET support in Chef, Puppet, Ansible + DSC

  10. Some case studies






  16. Soundbites from • Focus on flow • Avoid complex

    branching strategies • Aim to push work out to consumers asap • Favour fast recovery







  24. Takeaways from • Collect metrics from your live systems

    • Make them effective for issue resolution • Too much unstructured data can be blinding • Help your future selves pinpoint issues quickly and easily • Continually review and revise effectiveness of existing dashboards

  26. Thanks: Owain Perry

  27. Parting gifts from • Git on Windows works very

    well • Chef on Windows works very well • GoCD on Windows works very well • Github + TeamCity + GoCD == awesomeness • At web scale, SaaS logging tools cost $$$, so invest in internal ELK at the right time



  31. Discoveries from • Installation experience is a feature •

    Chocolatey is still a bit ropey for client-facing systems (use MSIs) • Split the codebase along domain boundaries • Detect configuration drift • Add metrics and logging somehow
  32. Recommendations

  33. Recommendations • Focus on continual flow of changes •

    Collect effective metrics from live systems • Branch code with caution!

  35. Recommendations • Use Git (not Svn / TFVC) •

    Immutable infra with Windows 40GB VMs is difficult (impossible?)

  37. Recommendations • Use NuGet for internal dependencies • Use

    a proper artifact repository: Artifactory, Nexus, … • Solution (.sln) / Project (.csproj) structure affects buildability - restructure

  39. Recommendations • Automate DB changes: Redgate / Fluent /

    Flyway … • DB ownership gets tricky: Dev vs DBA • Patch mgt: test in upstream envs

  41. Recommendations • Devolved AD administration with automated domain join/leave

    • Detect config drift: UpGuard / ... • Make friends with Linux for best tooling!

  43. Continuous Delivery with Windows and .NET is completely possible

    in 2016
  44. Continuous Delivery with Windows and .NET Chris O’Dell and

    Matthew Skelton O’Reilly, February 2016 FREE via
  45. thanks Dave Farley for the Foreword O’Reilly Editors: Brian

    Anderson and Kristen Brown Case Studies: • Andy Lole at Carnect • Paul Shannon at 7digital • Steve Elliott at • Peter Mounce at JUST EAT • Owain Perry at JustGiving • John Esser and Russ Barnet at