Cool,

feel free to update the tutorial to make those steps explicit

Krzysztof

On 12/07/2011 10:06 PM, DavidO wrote:
For others....

I created another very simple Installer and it also had the same issue
i.e. it was null.
So, nothing to do with log4net. I then debugged the
WindsorControllerFactory and discovered it was not been called (doh!)

I had omitted to add
var controllerFactory = new
WindsorControllerFactory(container.Kernel);
ControllerBuilder.Current.SetControllerFactory(controllerFactory);

to Global.asax.cs.BootstrapContainer()

then however I hit a problem with
WindsorControllerFactory.GetControllerInstance trying to get a
controllerType for favicon.ico which led me to adding

routes.IgnoreRoute("{*favicon}", new { favicon = @"(.*/)?
favicon.ico(/.*)?" });
Global.asax.cs.RegisterRoutes

All working now:)


--
You received this message because you are subscribed to the Google Groups "Castle 
Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to