Using the WCF Facility programmatic model in c# code or Binsor you can.
Their isn't a way using xml configuration

On Tue, Mar 31, 2009 at 8:21 AM, atulverma <[email protected]> wrote:

>
> Hi All,
>
> I am facing a problem with windsor configuration.
>
> I wanted to define both endpoint and service behaviors on WCF service
> using windsor configuration files i.e.WCF Integration Facility .
> However if we define a behavior using windsor it gets applied to all
> of the services being initialized using windsorhostfactory (windsor
> container).
>
> http://www.castleproject.org/container/facilities/trunk/wcf/index.html>
>  <!-- Since this implements IServiceBehavior, it will be applied to
> all WCF Services registered with Windsor -->
>                <component id="exceptionHandler"
>
> service="System.ServiceModel.Description.IServiceBehavior,
> System.ServiceModel"
>
> type="TimeWarner.Gis.Services.Common.Exceptions.LogExceptionHandler,
> TimeWarner.Gis.Services.Common">
>
> The scenario we have is that we have created a service gateway which
> acts as a router for many services and provides some additional
> features - authentication/encryption. So our windsor container
> contains many service instances when initialized. But any behavior
> (IServiceBehavior) defined using windsor is applied to all services
> which is not what we want. Is there a way by which i can specify a
> behavior defined in windsor config to be applied to a specific service
> contract or type?
>
> >
>

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