IWindsorContainer container = new WindsorContainer()
                    .Install(Configuration.FromXml(new 
FileResource("Windsor.xml")));

cws wrote:
> Hello!
>
> Uisng Castle release 2.x.x from repository
>
> When using WCFFacility i am trying to define a endpoint in web.config,
> but the facility seems not to pick it up. Or maybe i don't understand
> it. trying to define a namespace in the binding as seen below.
>
> Thanks for any help in advance!
>
> web.config:
>   <system.serviceModel>
>     <services>
>       <service  name="Skolplatsen.Services.FranvaroService" >
>         <endpoint binding="basicHttpBinding" bindingNamespace="http://
> services.skolplatsen.se/FranvaroService"
>  
> contract="Skolplatsen.Services.Model.Contracts.IFranvaroService,
> Skolplatsen.Services.Model" />
>       </service>
>     </services>
>   </system.serviceModel>
>
> Windsor.xml:
>     <component id="franvaroService"
>                                  
> service="Skolplatsen.Services.Model.Contracts.IFranvaroService,
> Skolplatsen.Services.Model"
>       
> type="Skolplatsen.Services.Model.Implementations.FranvaroService,
> Skolplatsen.Services.Model"
>            lifestyle="transient"
>                >
> Svc-file
> <%@ ServiceHost Language="C#" Service="franvaroService"
> Factory="Castle.Facilities.WcfIntegration.DefaultServiceHostFactory,
> Castle.Facilities.WcfIntegration" %>
>
>
>
> >
>   


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