Wednesday, June 04, 2008
An updated version of ASP.NET MVC Precondition Filter that is now part of MVCContrib ...
.NET | ASP.NET | C_Sharp | MVC
6/4/2008 10:00:06 AM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [2]  | 
 Wednesday, May 14, 2008
Here is code that will allow you to decorate your MVC Actions with attributes that will define your needed "preconditions". 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). These, I consider "preconditions".
.NET | ASP.NET | C_Sharp | MVC
5/14/2008 6:30:19 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [4]  |