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
  • Refresher on full trust

    rated by 0 users
    Answered (Verified) This post has 1 verified answer | 2 Replies | 2 Followers

    Top 150 Contributor
    55 Posts
    cjherasmus posted on Fri, Jun 20 2014 8:28 AM

    Does CSLA 4.5 still require full trust on server for ASP.NET MVC 4 internet applications?

    Casper Erasmus

    Answered (Verified) Verified Answer

    Top 10 Contributor
    9,475 Posts
    Verified by Andy

    That depends entirely on you.

    If you use the MobileFormatter (instead of BinaryFormatter or NDCS) for serialization then full trust should not be required.

    The problem has always been with those two Microsoft serializers, because they are built in a way that requires full trust.

    The MobileFormatter is something we wrote to support Silverlight, so it was designed around the assumption of partial trust. Somewhere around version 3.8 or 4.0 we made MobileFormatter available to any code, not just Silverlight.

    The 'Using CSLA 4: Data Portal Configuration' book talks about how to configure CSLA to use different serializers.

    Rocky

    All Replies

    Top 10 Contributor
    9,475 Posts
    Verified by Andy

    That depends entirely on you.

    If you use the MobileFormatter (instead of BinaryFormatter or NDCS) for serialization then full trust should not be required.

    The problem has always been with those two Microsoft serializers, because they are built in a way that requires full trust.

    The MobileFormatter is something we wrote to support Silverlight, so it was designed around the assumption of partial trust. Somewhere around version 3.8 or 4.0 we made MobileFormatter available to any code, not just Silverlight.

    The 'Using CSLA 4: Data Portal Configuration' book talks about how to configure CSLA to use different serializers.

    Rocky

    Top 150 Contributor
    55 Posts

    So an ASP.NET MVC 4/5 public internet application with CSLA server-side can happen for me then.

    Casper Erasmus

    Page 1 of 1 (3 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