Oops just realised I ment to add to that last post  in my web config-

<!-- Application Settings -->
  <appSettings>
    <!-- The path to the castle config file to configure dependency
injection -->
    <add key="CASTLE_CONFIG_FILE" value="currentDirectory\Config
\Castle.config"/>
  </appSettings>

and I have a seperate xml file called Castle.config which contains-
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
        <components>
                <component
                                id="blog.daofactory"
                                service="Blog.Core.DataAccess.IDaoFactory, 
Blog.Core"
                                type="Blog.Dal.DAOs.DaoFactory, Blog.Dal">
                </component>
                <component
                                id="blog.servicefactory"
                                
service="Blog.Core.ServiceInterfaces.IServiceFactory, Blog.Core"
                                type="Blog.Bll.Services.ServiceFactory, 
Blog.Bll">
                </component>
        </components>
</configuration>

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