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
  • CSLA and MS Identity

    rated by 0 users
    Not Answered This post has 0 verified answers | 0 Replies | 0 Followers

    Top 500 Contributor
    23 Posts
    Peter Centellini posted on Fri, Oct 17 2014 7:46 AM


    In my MVC 5-Project I want to use MS Identity for Authorization and Authentication. I have built my application according to the EncapsulatedDto-model, hence I among my projects have a Dal, DalSql, Library, and WcfPortal Project.  

    I'm want to use Claims-based Authorization, and could of course put Everything in the MVC-Project since MS Identity with its EF-approach is separated from my other database,but then I break my separation of logic, so this is not the way to go as I see it.

    I want to use the Identiy and Principal classes in CSLA, and separate all security logic from the UI-part, but am a Little unsure which way to go. The way I'm thinking is to have the usual Identity and Principal classes (inheriting from CslaIdentityBase and CslaPrincipal), in my Library Project, and then create a separate Concrete DalSqlEf-project which only handles the security parts.  

    What are your comments on this?


    Peter Centellini

    Page 1 of 1 (1 items) | RSS

    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