This project is read-only.

Combining multiple policies at endpoints or operations

Nov 28, 2007 at 9:06 PM
Is it possible to combine multiple policies at an end point? For example, if I create a policy for message logging, can I combine this with the RegEx policy? If so, how can we specify which policy to enforce first? I may want to log the message with or without the RegEx policy already applied.
Dec 4, 2007 at 3:53 PM
With this build, that would be done by taking the relevant XAML fromt eh RegEx policy and including that in the new policy that does logging. All you need to grab is the namespace reference and the specific line that references that "behavior". Obviously, the next step would be to break policies down into assertions and group assertions into different policies. We are still working out whether that intemediate container is helpful or productive in application, so we welcome any feedback on how to best manage policies in this context.