Action behavior using ASP.NET MVC and MvcContrib
Posted by: Jeffrey Palermo,
on 16 Apr 2008 |
View original | Bookmarked: 0 time(s)
This post is a quick rundown of action method behaviors. This will be halfway obsolete with the next MVC drop on codeplex, but here goes: You can download MvcContrib from http://mvccontrib.org. The convention controller is there. The ConventionController takes away nothing from System.Web.Mvc.Controller, but it adds some useful things on top. My example controllers inherit from ConventionController. First, To get an action method to fire and run, just make it public. ...