0
kicks
Custom Controller Factory in ASP.NET MVC
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.