Error!
Success!

By tag: DesignByContract

showing:  of
0
kicks

Using PreconditionFilter with the new HandleErrorAttribute in ASP.NET  (Unpublished)

An example of how to use Precondition Filters in conjunction with HandleErrorAttribute to provide user-friendly error pages when users try to link to your URLs with invalid route data, query strings, etc...


Kicked By:
Drop Kicked By:
0
kicks

ASP.NET MVC Controller Action Precondition Filter  (Unpublished)

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.:...


Kicked By:
Drop Kicked By: