ICommand & IAuthorizer marrying together for a WPF application

Posts   
 
    
vairam2008
User
Posts: 86
Joined: 11-Mar-2008
# Posted on: 03-Apr-2008 21:35:39   

I am creating a WPF application.

The authorization to Commands (visible,enabled,disabled) is controlled by entity data that is based on location, user & the state(properties) of the current window.

Is there an architectural idea of how to go about this implementing, any suggestions is much appreciated. Thanks

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 07-Apr-2008 04:46:19   

I'm not 100% clear about your scenario. Could you please elaborate more? Have you read LLBLGenPro - Using the generated code - Setting up and using Authorization?

David Elizondo | LLBLGen Support Team
vairam2008
User
Posts: 86
Joined: 11-Mar-2008
# Posted on: 09-Apr-2008 19:48:27   

I am trying to setup Authorization objects for each business component & an authorization manager. Along side I want this to be consumed by a WPF application. WPF uses Commands & disable, hide based on success of the CanExecute & Execute methods.

I am trying to find out is there any best practices for it.