By powerrush
via blog.troyd.net
Submitted: Jun 04 2008 / 14:35
An updated version of ASP.NET MVC Precondition Filter that is now part of MVCContrib ...
SaveShareSend
Tags: .net, frameworks, microsoft, open source
Comments
powerrush replied ago:
'I often find the need to check for the existence of a parameter passed to a web page, such as an ID, and also often need to check if the ID is valid as well (e.g.: a valid primary key).
In the spirit of Design By Contract, I would consider this check to be a sort of "Request By Contract", at least insofar as the concept of a "precondition".'
Voters For This Link (4)
Voters Against This Link (0)