Use Csla for other purposes

Use Csla for other purposes

Old forum URL: forums.lhotka.net/forums/t/628.aspx


phucphlq posted on Friday, July 14, 2006

I use .Net Remoting, I write a class(not inherit from any classes of CSLA) and I want to execute its function at server if client must have CslaAuthentication as BusinessClass. I want to use CslsAuthentication to security my class.

    Ex:

   public class Management:MarshalByRef

   {

         public void Cal()

        {

        }

   }

ajj3085 replied on Monday, July 17, 2006

You'd have to make use of your class only in a DataPortal_xxx method; code in the DataPortal_xxx methods are always run server side (well, as long as you're following the rules of the framework).

Copyright (c) Marimer LLC