Code Contracts in .NET
Taking a Design by Contract (DbC) approach can help developers produce more maintainable code, by formalising the interface specification between software components. This is not a new concept, but until recently there has been no first class class support in .NET for developers wishing to take this approach. In this session we will take a look at what DbC is, and how we may have have used it in .NET development in the past. We will then focus on Microsoft's implementation of DbC for .NET - Code Contracts. We will look at what the Code Contracts framework is, how to use it, and what benefits it can bring to your team. Along the way, we will consider what impact adopting DbC with Code Contracts will have on your existing developer workflow and best practices.
About Chris
Chris is a technical architect at AKQA. For more years than he cares to remember he has developed websites and web applications, mostly using a Microsoft stack. He currently works with .NET development teams building web applications on top of Sitecore, amongst other things
Comments