CSLA .NET

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

Forum has moved

New location: CSLA .NET forum


CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • Browse Site by Tags

    Showing related tags and posts across the entire site.
    • WinForms - ApplicationContext.User principal being lost

      I've recently taken on a legacy project which involves using CSLA with WinForms as a thick client (i.e. CSLA Client and Server within same application). It's currently running CSLA 4.0.1 - I have tried upgrading to 4.3.14, but my issue is still not resolved (I can't upgrade to 4.5.x yet as...
      Posted to CSLA .NET discussion by andrew123 on Mon, Nov 18 2013
    • Re: ASP.NET Custom Principal Reverts to Generic on Postbacks

      Overridding Principal in: protected void Application_PostAuthenticateRequest(object sender, EventArgs e) Instead of protected void Application_AuthenticateRequest(object sender, EventArgs e) In Global.asax.cs worked for me in an ASP web application
      Posted to CSLA .NET discussion by Tim-Nape on Tue, Oct 22 2013
    • Error with Csla.ApplicationContext.User

      I am evaluating CSLA.NET for an MVC project that I am working on. We would like to us MVC 4 but we are running into some issues with the Csla.ApplicationContext.User.IsInRole method and custom principals and identities. I have been working on a solution using the CSLA.NET 4.5.11 beta, but we have experienced...
      Posted to CSLA .NET discussion by TomMcCann on Mon, Feb 11 2013
    • UserName Authentication Issues

      Hello, Been developing an app for a few months now with a physical single tier mode and just now starting to try and get it to run in physical 3 tier mode. (Csla 3.8.3, .Net 3.5 SP1, Windows Server 2003 (IIS 6)) Windows Forms Smart Client WCF DataPortal hosted in IIS 6.0 SQL Server I was under the impression...
      Posted to CSLA .NET discussion by Matthew Copeland on Fri, Mar 30 2012
    • How to disable Removebutton per instance in ProjectTracker?

      I want to disable the RemoveButton per Instance. In the sample (05-WpfSl-111028) the Removebutton in ProjectList View binding to ProjectList ViewModel's CanRemove: public new bool CanRemove { get { return Csla.Rules.BusinessRules.HasPermission(Csla.Rules.AuthorizationActions.DeleteObject, typeof...
      Posted to CSLA .NET discussion by simon on Tue, Jan 10 2012
    • Re: How can I write a custom rule like IsInRole and IsNotInRole

      I've gone through the examples. But I didn't understand to attach the rule to CustomIdentity class. I'm using the CustomMembershipProvider. And I'm unable to access the properties of my Identity class using Csla.ApplicationContext.User.Identity. My Identity class code using System; using...
      Posted to CSLA .NET discussion by SreeRamaSaran Mullapudi on Thu, Dec 22 2011
    • CSLA Custom Membership Question

      Hi, I'm just learning CSLA and have a decent grasp on how to use it but I am having an issue with the custom membership portion. I am trying to implement a password recovery page and once the user inputs their user name, as per standard functionality, the PasswordRecovery control calls the GetUser...
      Posted to CSLA .NET discussion by cslasoup on Tue, May 10 2011
    • Principal and custom writable Identity

      Hi all: Please I need help one more time. I needed to make some changes and additions to my Identity class and I thought everything was ok. I need to add 2 properties to the identity and those properties will be set by the UI during login process. So I changed from ReadOnlyBase to BussinessBase class...
      Posted to CSLA .NET discussion by Lazaro Santin on Fri, Nov 12 2010
    • CanReadProperty not working with custom AuthorizationRule

      I have the visibility of my StackPanel dependant on the results of CanRead using a PropertyStatus like so: <StackPanel Orientation="Horizontal" Margin="5,5,5,5" Visibility="{Binding ElementName=SSNPropertyStatus, Path=CanRead, Converter={StaticResource VisibilityConverter...
      Posted to CSLA .NET discussion by marthac on Mon, Aug 30 2010
    • Find a business object

      I have implemented custom security model that has the option to restrict users to certain records. The model ask for which business object (ie customer, vendor, auditor) and which record (ie the guid of the record). I am now trying to implement the Get function. I was hoping to use the property that...
      Posted to CSLA .NET discussion by brannos on Fri, Jun 25 2010
    • Problems with CSLA 4 Authorization, MSTest, and Authorization Rules Caching

      I have implemented a "claims-based" authorization approach using the CSLA 4 authorization objects. I am trying to unit test the various relationships at the object level between what is requested and what is authorized for object CRUD operations. In each test method, I am setting up the rule...
      Posted to CSLA .NET discussion by JonStonecash on Mon, Jun 14 2010
    • CSLA Authentication: why does the server trust the Principal object

      I am investigating how to do custom authentication in my CSLA application. I understand that the Principal object is passed from client to server (and back) on every request. What I don't understand is, assuming a login has taken place and the Principal/Identity is marked as authenticated, why the...
      Posted to CSLA .NET discussion by vjmasin on Wed, Apr 7 2010
    • WPF, custom authentication

      Hi I'm using custom authentication in an WPF/VSTO application. I've implemented a custom principal and a custom identity. I'm using Csla.ApplicationContext.User to store the identity etc. I a have a main window in which I login, i.e. create the custom principal and so on. Inside one control...
      Posted to CSLA .NET discussion by fsl on Wed, Feb 10 2010

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