Using PolicyInjectionStrategy in SCSF project

Topics: Policy Injection Application Block
Jul 17, 2007 at 8:04 AM
I'd like to use PIAB logging handler in my SCSF project.
I'm using CAB services (ServiceAttribute(typeof(_interface_))) and I want to log the parameters values of those services.
I've added the following strategy in my SmartClientApplication class.
protected override void AddBuilderStrategies(Microsoft.Practices.ObjectBuilder.Builder builder)
{
base.AddBuilderStrategies(builder);

builder.Strategies.AddNew<PolicyInjectionStrategy>(BuilderStage.PostInitialization);
}
I also add a policy based on the namespace.
If I'm correct I don't have to let my CAB service inherit from MarshalByRef since it is always used through an interface.
So, despite all this nothing appends when I call the service.
A code sample would be of great interrest.

Thanks in advance.