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.
    • DataPortal.Execute lost client connection scenario

      I'm a bit confused about something with regard to the client/server connection. I'm executing a long-running task via a CSLA Command object, with the high probability that the user will close the client application leaving the server executing object orphaned. What happens in this scenario? When...
      Posted to CSLA .NET discussion by KevinR on Thu, Jun 14 2012
    • Unable to serialize...

      Hello nice people out there :) I've run into very interesting problem. So far I am using CSLA 4.1 and have built WCF Service (the standart CSLA built-in service) so I can use CommandBase to execute code on the server (n-tier appliation). Most of the CommandBase objects are working fine. The interesting...
      Posted to CSLA .NET discussion by Hurty on Thu, Feb 2 2012
    • CSLA WCF Callbacks and Notifications

      I've ran into some problems... So far I have created about 20 BOs that must call Save() method in a transaction. This must be implemented through the build-in CSLA's WCF support. So I brought up WCF service, created CommandBase object and wrapped all the BOs in a transaction. The DataPortal_Execute...
      Posted to CSLA .NET discussion by Hurty on Thu, Jan 12 2012
    • CommandBase Authorization

      I need to implement role-based authorization on a commandbase object. i.e does this user have rights to do a DataPortal_Execute on this command object. Can someone point me in the direction of a sample or explanation? I have searched the forum/book. Thanks much Ranjini
      Posted to CSLA .NET discussion by Ranjini on Wed, Jul 20 2011
    • Re: Execute command doesnt use the wanted constructor on server side when using Async Command

      A command is a mobile object, just like any other business object. If you don't use managed backing fields, you must manually serialize your fields. If you don't serialize a private field value, it won't flow across the wire through the data portal. The simplest thing to do is to use managed...
      Posted to CSLA .NET discussion by RockfordLhotka on Tue, Oct 19 2010
    • CSLA Silverlight CommandBase usage?

      Are there any good example projects that show usage of a CommandBase object in Silverlight ? We are using Silverlight 4 / CSLA 4 and have a usecase where we need some operations/calculations performed within a business object that do not qualify as any of the CRUD operations. We figured CommandBase would...
      Posted to CSLA .NET discussion by Ranjini on Fri, Oct 1 2010
    • Re: Silverlight CommandBase questions

      Is it possible that the business object type itself isn't public? Silverlight reflection can only work on public elements - public types, public members, etc. I don't see a problem with SetFlagBegin(), though if this is inside some other business object (and I suspect it is) then you might want...
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Jul 29 2010
    • Silverlight CommandBase questions

      First, I'm getting an error: "Attempt by method 'Csla.Core.FieldManager.FieldDataManager.ForceStaticFieldInit(System.Type)' to access field 'BLayer.Email.ToggleReadFlagCommand.FolderNameProperty' failed." Yes, I have my backing fields as public static readonly. What else...
      Posted to CSLA .NET discussion by DanB on Thu, Jul 29 2010
    • Async Server Call with Tracking capability

      I'm creating a Windows desktop application (not using WPF) and I'd like to make async server calls from client with tracking capability. Let me explain using an example: I have a few service classes (inherited from CommandBase) in which I initiate a long-running tasks. Each service is dedicated...
      Posted to CSLA .NET discussion by amir.gheibi on Mon, Jul 5 2010
    • Why did the non generic DataPortal.Execute(CommandBase) method was removed?

      Dear ladies and sirs. What is the rationale for removing this method? We found it very useful and used it very much. It allows to pass one command to the server and get back another command, which we think of as a command result. Take for instance, we have a LogOnCommand . It carries the user credentials...
      Posted to CSLA .NET discussion by markell on Sun, Jun 6 2010
    • Command and Multiple Root Save

      We are referring to the Csla Wiki entry (modified example as below) regarding Command Base and multiple root objects as a potential way to handle some of our requirements. What would be the best way to require use of the ShipmentSaver class and for example prevent calling save directly on the Shipment...
      Posted to CSLA .NET discussion by asp2go on Tue, May 11 2010
    • Re: BusinessBase/BusinessListBase auto-clone on update, but CommandBase does not?

      This is an oversight, command objects should auto-clone. I'll add this to the list for CSLA 4.
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Mar 18 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