CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Browse Forum Posts by Tags

Showing related tags and posts for the CSLA .NET Framework group. See all tags in the site
  • Per-property authorization rule that depends on async, lazy-loaded property

    What is the best approach for implementing a per-property authorization rule that depends on the result of an async, lazy-loaded property? Here's my suggestion: [Serializable] public sealed class Parent : BusinessBase<Parent> { public static readonly PropertyInfo<string> NameProperty...
    Posted to CSLA .NET discussion (Forum) by Chattererman on Tue, May 7 2013
  • Authorization rules not running for new object

    When I create a new instance of a business object, the authorization rules do not run. I have a custom authorization rule that changes access to a property based on the state of another property. This rule runs as expected when fetching an existing object and editing it, but it seems like the authorization...
    Posted to CSLA .NET discussion (Forum) by jmuller on Thu, Feb 14 2013
  • Csla.Xaml.ApplicationContextManager question

    In our WPF application users can log out and then log in into the system. With current implementation Csla.Xaml.ApplicationContextManager we sometime have interesting problem. I would like to check if anyone had the same problem before, or have any other comments. Here is the problem. ApplicationContextManager...
    Posted to CSLA .NET discussion (Forum) by maxal on Tue, Nov 6 2012
  • Re: Business Rule for Not Allowing Edit or Delete for a Specific Record

    There is support for this - you just have to follow some basic guidelines. BusinessRules at Object level must have ProperyProperty = null. AuthorizationRules for Static methods must have Member = null (CanGetObject, CanCreateObject, CanEditObject, CanDeleteObject) BusinessRules for a Property must have...
    Posted to CSLA .NET discussion (Forum) by JonnyBee on Sun, Nov 4 2012
  • Problem with MethodInfo

    Hi everybody, in a SL4 Project using CSLA 4.1 I have a BusinessBase class containing 2 Methods: public void doWork(EventHandler<DataPortalResult<doWorkCommand>> callback) public static void doWork(int Id, EventHandler<DataPortalResult<doWorkCommand>> callback) I would like to...
    Posted to CSLA .NET discussion (Forum) by Uwe Hein on Wed, Nov 9 2011
  • Business Object Authorization Design

    I'm very new to CSLA but am thrilled to have found it and have started working through Rockford's C# 2008 Business Objects book. I have a design question that I'm hoping others with more experience can chime in on, especially as thoughts on how using CSLA can help me better refine the design...
    Posted to CSLA .NET discussion (Forum) by Justin Heath on Thu, Oct 20 2011
  • Csla 4 - Clearing out principal?

    I've upgraded WebForms project to use Csla 4. The business layer seems fine mostly, all the tests have passed and I'm fixing minor things with how BOs are build (private backing fields not specifying that in relationship type, etc). One thing I'm stumped on is the handling of the ApplicationContext...
    Posted to CSLA .NET discussion (Forum) by Andy on Sun, Oct 16 2011
  • Customize Authorization Rules Messages.

    Hello all. I'm using Authorization Rules in my Business Objects but when any Authorization Rule is broken the message provided on the exception do not fits my needs. I was reviewing the implementation of the DataPortal class and CSLA throws a Security Exception and loads the exception message from...
    Posted to CSLA .NET discussion (Forum) by omarcusido on Fri, Oct 14 2011
  • Where is Execute command authorization rule?

    Why there is no ExecuteObject/ExecuteCommand per type authorization rule/action? I can see that AddObjectAuthorizationRules() is being call... Thanks Ivan UPDATE : ok, after looking through csla source, I figured out that EditObject permission is being checked while executing DataPortal_Execute method...
    Posted to CSLA .NET discussion (Forum) by mesh on Mon, Aug 29 2011
  • Re: CanWriteProperty and AuthorizationActions.EditObject

    Thanks Rocky. I ended up creating an aggregate authorization rule that I can stuff any number of sub rules into. I also created a CanEditObject rule that I put in each aggregate rule for each property in addition to the other rule(s) for each property. We'll wait and see what kind of performance...
    Posted to CSLA .NET discussion (Forum) by mdbzntcd on Tue, Aug 16 2011
Page 1 of 10 (91 items) 1 2 3 4 5 Next > ... Last »

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems