This question is locked. New answers and comments are not allowed.
I've been working through the OpenAccess "How to: Add Metadata Class" samples and I can successfully apply attributes to entities. I've created a simple Silverlight WCF/RIA app with asp.net membership and now I want to apply some AuthorizationAttributes (RequiresRole, RequiresAuthentication etc) to my auto generated domain operations.
However I don't see how I can do this other than by applying the attributes directly in the generated domain service cs file.
Are there any downloadable samples for applying authorization attributes to domain operations or how should I go about doing this?
Many thanks.
Rgds,
Rob.
However I don't see how I can do this other than by applying the attributes directly in the generated domain service cs file.
Are there any downloadable samples for applying authorization attributes to domain operations or how should I go about doing this?
Many thanks.
Rgds,
Rob.