- 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.SetupfromGlobal.asax.cs. Example shown in this Gist.
my MVC app usining Windsor Controlfactory, everything looks OK in Local but in QA, when load the controller my Return URl path changes, Account/login adds automatically, even my app doesn't have Account controller and login view
Url should come like this : myappQA.com/Home/Index
but it comes like : myappQa.com/Account/login?/Home/index
please help me