Well it’s been a while since I wrote something here, but now I came across something useful and worth sharing. In a few projects I work on, users upload content to share online. Now while we have virus scanners running, they only scan files saved on disk. I needed to figure out a better wayContinue reading “3 Easy steps to scanning files for viruses in MVC (and for free)”
I have finally got a little time to sit down and talk about my experience of the NHS hack day in Cardiff last month, organised by Anne Marie Cunningham. Hack days are brilliant for putting Developers, Designers and Domain Experts together in one space to come up with solutions to solve real world problems. IContinue reading “Cardiff NHS hack day or (weekend) and Bcon.cc”
In this post, I will show you how I set up fluent validation, to work smoothly with my MVC 2 project. I create a custom model binder to validate view models and show how to validate a registration using fluent validation. Finally I show how to unit test the validation rules I needed for registration.