Code Contracts in .NET with Chris Marsh

Canary Wharf .NET User Group
Wed, 7 Sep 2011, 17:30 - 19:30 (Add to calendar) GMT
Infusion Development , Poplar, GB

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

You might also like...


Other nearby events



Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” - Edsger Dijkstra