Custom Controller Factory in ASP.NET MVC

added by cengizh
7/25/2010 9:53:12 AM


I am using ASP.NET MVC framework from the time first beta bits released, I am big fan of this framework because of it’s extensibility and specifically simplicity. ASP.NET MVC framework activates the controllers when a request arrived to it’s pipeline. Default naming and structure rules of controllers are : Controller class name must ends with “Controller”. Controller class must have constructor with no parameters. These constraints come from the default controller factory of ASP.NET MVC Framework.