It allows the user to override the built-in MonoRail services
(ControllerFactory, EmailSender, etc). A complete list of available
services to override and service node structure is here:
http://www.castleproject.org/monorail/documentation/trunk/manual/configurationref.html#ConfigExplained
.

Also see 
http://www.castleproject.org/monorail/documentation/trunk/advanced/services.html

A list of default implementations for these services is in
DefaultMonoRailContainer.InstallMissingServices():
http://github.com/castleproject/Castle.MonoRail/blob/master/src/Castle.MonoRail.Framework/Container/DefaultMonoRailContainer.cs#L414

This acts as a basic internal service locator. For example you could
override the default cache provider with a memcached provider.


On Fri, Jul 30, 2010 at 7:18 PM, Symon Rottem <[email protected]> wrote:
> Hi Guys,
> I'm working up expanded documentation for MonoRail and while working my way
> through the Configuration section I find that I'm stumped by the services
> node, what it's really for and how it works.  I've had a read through the
> services section of the existing documentation fear I am little wiser for my
> efforts.
> Is there anyone out there who can explain what services are for, why one
> would choose to put something into the <services> node in the MonoRail
> configuration and what a <service> node is comprised of?  If someone can
> explain it I can add it to the docs.
> Cheers,
> Symon.
> Symon Rottem
> http://blog.symbiotic-development.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Development List" 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-devel?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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-devel?hl=en.

Reply via email to