Well, I started by making this an explicit step so that people are aware that it does that and they don't have to repeat the step. Also It's opt in so that people can register the controllers differently if then need to, say when there's some additional configuration they want to have. And finally I'm using the call to automagically discover where to look for the controllers :)

Krzysztof

On 16/02/2011 8:16 AM, John Simons wrote:
What's RegisterControllers() for?

Shouldn't this be automatically registered ?


On Feb 15, 7:17 pm, Krzysztof Kozmic<[email protected]>
wrote:
Hi folks,

Since I'm working on yet another project involving Windsor and ASP.NET
MVC and I already have a class called MvcFacility in it I was thinking
if we should provide an official facility for MVC integration that would
be a quick and nice way of setting up the integration between frameworks.

What do you think?
What would you want to see in the facility? How are you using Windsor in
MVC apps?

PS

My current facility is used like that:https://gist.github.com/827111

Krzysztof

--
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