Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where to find a windsor controller factory for mvc 2 ? There is no mvccontrib.castle.dll anymore o_O

I was using WindsorControllerFactory from mvccontrib.castle lib until now, after i migrated to mvc 2 it doesn't work anymore, I've downloaded the latest mvccontrib release and no factories in there

like image 834
Omu Avatar asked Apr 23 '10 18:04

Omu


People also ask

What is the role of the defaultcontrollerfactory in MVC?

Controller factory is responsible for handling the incoming request and mapping it to specific controller. Here is how it works: In this figure, I tried to explain where the role exists of controller factory. By default, ASP.NET MVC uses DefaultControllerFactory class for creating controller after receiving request from Route Handler.

Do I need a custom controller factory for MVC?

The custom controller factory is no longer necessary if you update your ASP.NET MVC project to use .NET Framework 4.5 or later and simply add this NuGet package to it. It will automatically add a static class called UnityMvcActivator with everything required.

What is the use of controller class in MVC?

The controller class we use in our MVC application is derived from Controller ( abstract) class which implements ControllerBase, IActionFilter, IAuthorizationFilter, IDisposable, IExceptionFilter and IResultFilter . With the help of the above mentioned interfaces and ControllerBase class, the Controller class helps to create a controller easily.


1 Answers

You need to download MVCContrib.Extras.release.zip. It has the controller factories and the rest of the stuff.

like image 147
Mauricio Scheffer Avatar answered Mar 01 '23 01:03

Mauricio Scheffer