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.
    • Is Thread safe When AsyncBusinessRule completed???

      Dear all: when i read the source code of csla, i have some questions.pls help to answer. i have a property (named filedA) with a async rule(business rule not validation rule),it calls the server to calculate something and then update another property (named filedB) on the completed callback thread. now...
      Posted to CSLA .NET discussion by Sam_Lin on Fri, Sep 27 2013
    • BeginFetch with criteria requires KnownTypeAttribute?

      (Csla 4, Silverlight 5) I'm having some trouble understanding how to accomplish calling fetch on a BLB when the call requires multiple parameters. In .Net, I usually have a simple class with my parameters as class properties that I wrap in a SingleCriteria during the fetch: MyCriteria c = new MyCriteria...
      Posted to CSLA .NET discussion by mrkenn on Thu, Sep 27 2012
    • How to tell if business object was created/fetched async?

      Is there a way to tell if an editable business object was created/fetched async? I am looking into the idea of lazy loading child lists async or sync depending on how the business object was instantiated. At first I thought of using a similar method as running business runs async or sync: if (System...
      Posted to CSLA .NET discussion by jhardman on Tue, Aug 14 2012
    • Re: CSLA 4.5, Async & Csla.Data

      Thanks for the clarification. It seems I did not look carefully enough inside the bugtracker, thanks for the link! I alread played a little with CSLA 4.5 (with .SaveAsync), result is really really great. We can really improve responsiveness with very little development/maintenance costs! Gilles
      Posted to CSLA .NET discussion by GBE on Tue, Aug 14 2012
    • Re: CSLA .NET Data Helpers for Windows Phone

      Thanks.
      Posted to CSLA .NET discussion by mesh on Fri, Feb 24 2012
    • How to Notify ROL of Delete?

      I have a ListView (ROL) and DetailsView( BO). in my Detailsview have a Delete Button that invoke BO.Delee method directly. according to http://www.lhotka.net/weblog/IAmWorkingOnMyUsingCSLANET30EbookAndWroteSomeContentThatIDontThinkImGoingToUseInTheBook.aspx notify the ROL the Add and Update. but how...
      Posted to CSLA .NET discussion by simon on Tue, Feb 7 2012
    • DataPortal.BeginFetch

      Can anyone provide me a real life sample of how a DataPortal.BeginFetch with a data access that talks to a database and then send it back to a winForms grid, (if there is away to get this done)
      Posted to CSLA .NET discussion by vbbeta on Mon, Jan 30 2012
    • Async Rule causes Can not change a read-only list or collection error

      I am getting the “Can not change a read-only list or collection” error on the base.DataPortal_Create(); line of the following method. [ RunLocal ] protected void DataPortal_Create( int userApplicationFK) { using (BypassPropertyChecks) { UserApplicationPK = userApplicationFK; PasswordRules...
      Posted to CSLA .NET discussion by Russ Blair on Wed, Sep 14 2011
    • Codesmith templates for sync/async

      Has anyone posted the Codesmith templates with the SILVERLIGHT directive for Async generation removed? Codesmithtools has it listed as "under consideration" and has been that way for quite a while. As this runs against Rocky's reco to make use of async where possible, I find it puzzling...
      Posted to CSLA .NET discussion by emathias on Mon, Aug 1 2011
    • RuleChainedContext & AddOutput values

      I working with CSLA 4.1 and ran into a scenario that I wanted to get some input on. Basically, I have a rule that updates some data using the AddOutput method but then has the need to chain another rule. I use the syntax below to pass the context. However, the context does not have the updated values...
      Posted to CSLA .NET discussion by Matt on Thu, Apr 28 2011
    • Re: Silverlight MVVM Async Lazy Loading Example

      Hi Todd, Async LazyLoad is Async LazyLoad, Silverlight or no Silverlight. Have a look at this thread http://forums.lhotka.net/forums/p/10238/48000.aspx#48000
      Posted to CSLA .NET discussion by Tiago Freitas Leal on Thu, Apr 28 2011
    • CSLA 4 Async Lazy Load

      Hi, Comparing the implementations of async lazy-loading available in the forum and the one provided in th e Objects ebook, page 29, I have two doubts: 1) "if (!FieldManager.FieldExists(FieldXProperty))" or "if (!FieldXLoading && !FieldManager.FieldExists(FieldXProperty))"...
      Posted to CSLA .NET discussion by tgddev on Tue, Apr 5 2011
    • Asynchrous rule not updating UI on first call - breaking list

      I’ve been using CSLA for a while now but am now just starting to build Silverlight applications using it. I am having a problem with asynchronous rule methods that update the UI. I am using CSLA 4.1 and have the following objects: BannedCarrier – Child Business Base Object BannedCarriers...
      Posted to CSLA .NET discussion by zman88a on Thu, Mar 17 2011
    • CSLA 4 - Business Rules: context.Target property

      What I gather from the original blog posts regarding the new CSLA 4 business rules system: http://www.lhotka.net/weblog/CSLA4BusinessRulesSubsystem.aspx http://www.lhotka.net/weblog/CSLA4BusinessRuleChaining.aspx http://www.lhotka.net/weblog/CSLA4AuthorizationRules.aspx It seems that the Target property...
      Posted to CSLA .NET discussion by Jaans on Sun, Jan 9 2011
    • Asynchronous Rule Question - CSLA 4

      I am new to CSLA and working in CSLA 4. What is the best way to implement a rule that triggers asynchronously for a property and that passes all properties of the property's parent to the command that is triggered? I have gone the path of creating a Rule object that calls a Command Object asynchronously...
      Posted to CSLA .NET discussion by Matt on Mon, Jan 3 2011
    • Re: Silverlight: Correct method to create a child with default values from the db and a Criteria object.

      Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Hi Rocky YES we are talking about "create"(sorry!) ...my code got mixed up a lot with all the fiddling. But I think I have it sorted now. I posting my solution here for the sake of other CSLA programmers that might battle...
      Posted to CSLA .NET discussion by pgroenenstein on Thu, Dec 9 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