- Create the following folder structure and files:
-- MyApp.Web (The MVC project)
---- PresentationLogic (folder)
------ Container (folder)
-------- BusinessLogicInstaller.cs
-------- ControllersInstaller.cs
-------- IocContainer.cs
-------- WindsorControllerFactory.cs
-
Add the contents of each file in this Gist to your app. Rename namespace to fit to your application.
-
Call
IocContainer.Setup
fromGlobal.asax.cs
. Example shown in this Gist.
thanks