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 way […]
Category Archives: MVC
Now while we have virus scanners running, they only scan files saved
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. I […]
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.