A Case for Test Driven Development

Powerpoint outline for a class I used to teach regarding the topic of TDD. Recently was asked by a coworker to use this and decided to share with the world. Download as use as needed for your own training. Written in 2005 and references Visual Studio 2003 but points still hold. tdd.zip

0

Windsor Container Series

It’s no secret that I am a fan of Windsor Container. Here’s a really great series of Advanced Windsor Container Tricks posts that I am linking here for reference Registering Delegates  & A Delegate Factory Facility Auto registration How to resolve arrays How to register and use decorators The Startable Facility The EventWiring Facility How…

0

Making exception messages meaningful

Now that’s a great exception message. I think we all can take a clue from the Castle team when it comes to making exceptions meaningful. Instead of next time effectively saying “something went wrong” with our exceptions, really spell out exactly why it went bad and if possible, how to correct it.   Big ups to…

0

Unit Testing Repositories, a rebuttal. Or "How to use proper decoupling to unit test the repository pattern"

For primers, you need to read this post first: http://buffered.io/2008/07/29/unit-tests-boldly-crossing-boundaries-and-gently-breaking-rules/ So the other day I received an email from a group that I am assisting in understanding TDD, Test Concepts, and Separation of Concerns, and they asked, “Is this relevant”? Well here’s the reply to them. Relevant: Yes and no.There’s some good conversation going on…

0

Indispensable Visual Studio Gallery Extensions

A simple list of items no developer should be without. VS 2010 Productivity Toolshttp://visualstudiogallery.msdn.microsoft.com/en-us/d0d33361-18e2-46c0-8ff2-4adea1e34fef OData Visualizerhttp://visualstudiogallery.msdn.microsoft.com/en-us/f4ac856a-796e-4d78-9a3d-0120d8137722 VS2010 Code Maphttp://visualstudiogallery.msdn.microsoft.com/en-us/1c54d1bd-d898-4705-903f-fa4a319b50f2 RegEx Editorhttp://visualstudiogallery.msdn.microsoft.com/en-us/55c24bf1-2636-4f94-831d-28db8505ce00 TFS Power Toolshttp://visualstudiogallery.msdn.microsoft.com/en-us/3e8c9b68-6e39-4577-b9b7-78489b5cb1da Power Commands for VS2010http://visualstudiogallery.msdn.microsoft.com/en-us/e5f41ad9-4edc-4912-bca3-91147db95b99 Visualization and Modeling Feature Packhttp://msdn.microsoft.com/library/dd460723.aspx Application Architecture Guide Layer Diagramshttp://visualstudiogallery.msdn.microsoft.com/en-us/237f823c-45b4-4f1f-b9e2-607fe66eaae7 Architecture Layer Patternshttp://visualstudiogallery.msdn.microsoft.com/en-us/9c8051f8-e8f7-45b1-8d04-dad6afc697d2 Move to Regionhttp://visualstudiogallery.msdn.microsoft.com/en-us/993418d7-40ef-46fd-8f2d-0cf57cc628fd ReSharperhttp://visualstudiogallery.msdn.microsoft.com/en-us/EA4AC039-1B5C-4D11-804E-9BEDE2E63ECF PowerGUIhttp://www.powergui.orghttp://powerguivsx.codeplex.com/ WIXhttp://visualstudiogallery.msdn.microsoft.com/en-us/5f43f268-7752-48c7-90e8-ae5b6f136b3f Code Contracts Editorhttp://visualstudiogallery.msdn.microsoft.com/en-us/85f0aa38-a8a8-4811-8b86-e7f0b8d8c71b?SRC=Featured

0

Query Providers ARE Still Data Access Code!!

So everyone reading this (or at least hopefully everyone) will know that putting data access logic into the UI is anti-pattern of all anti-patterns. I am going to sidestep the issue of simple utilities and one-off screens and trivial applications for the purposes of this discussion. We’re instead focusing on real applications with non trivial…

0