Managing Windsors plugins

Topics: Developer Forum, Project Management Forum, User Forum
Sep 17, 2008 at 7:49 PM
Where do I manage the windsor plugins?

I would like to create my own IUrlParser .

My UrlParser class will be in another assembly than N2.

Is there anyway to manage the plugin information in the web.config of the site?
Sep 17, 2008 at 8:16 PM
Sure. You have two options.

Either you create a castle configuration section and tell N2 to use it: <n2><engine castleSection="castle"...

Or you configure components through n2 configuration:
      <add service="N2.Web.IUrlParser, N2" implementation="MyNamespace.MyClass, MyAssembly" />