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.
    • Dealing with differences between Object Model and Data Model

      Generally our CSLA business objects correspond 1-to-1 with our database tables. MamaWidget is persisted to mamawidget_table and BabyWidget is persisted to babywidget_table Problem is MamaWidget is so fat....I said MamaWidget is SO FAT...How fat is she? MamaWidget is SO FAT her property list looks like...
      Posted to CSLA .NET discussion by jasonabi on Fri, Apr 17 2015
    • Triggering Authorization Rules on the Server

      I've set up static Auth Rules on my object by creating a method on it: public static void AddObjectAuthorizationRules() In which I add to the static BusinessRules collection: BusinessRules.AddRule(typeof(MyObject), ... etc I have CSLA set for 3-Tier usage, and I can see that the Authorization rules...
      Posted to CSLA .NET discussion by andrew123 on Thu, Jul 24 2014
    • DataPortal.Fetch failed (Value cannot be null. Parameter name: constructor)

      I'm having a strange issue with a DataPortal.Fetch function. The error is DataPortal.Fetch failed (Value cannot be null. Parameter name: constructor). The code that breaks is below and it breaks on the Return DataPortal.Fetch. It never reaches the dataportal fetch method. It looks the same as my...
      Posted to CSLA .NET discussion by dragonworld on Wed, Feb 26 2014
    • Re: How T Save() will work ?

      I created a simple example below. // You'll need to add a reference to the CSLA dll in your project(if you haven't done that already) [Serializable] public partial class Employee : Business<Employee> { // This property would normally map to your P/K in the database private static readonly...
      Posted to CSLA .NET discussion by Chris62 on Thu, Jan 30 2014
    • Child_DeleteSelf() not called from parent

      I have a parent object that inherits from BusinessBase and a child object that inherits from BusinessBase. The child is an object contained within the parent. The child object is a regular business object. It is NOT a list. All my child data portal methods (e.g. Child_Create(), Child_Insert(), Child_Fetch...
      Posted to CSLA .NET discussion by sguolla on Tue, Aug 20 2013
    • How to debug remotly an silverlight application on both sides of the Data Portal.

      Hi folks, We a re all f a mili a r with debugging a Silverlight a pplic a tion running loc a lly during development, but sometimes we need a lso a tt a ch the debugger to a x a p file th a t is hosted remotely, in order to understand the differences behavior between a re a l server and loc a lhost one...
      Posted to CSLA .NET discussion by cconte on Thu, Sep 6 2012
    • CSLA for WinRT : Getting exceptions when awaiting DataPortal.FetchAsync

      Hi, I've just started playing around with the WinRT-build of CSLA. I've been working somewhat with CSLA.NET previously, so I'm familiar with the basic concepts. Now what happens is that when I call DataPortal.FetchAsync<MyObject>("someParameter"), I get the following exception...
      Posted to CSLA .NET discussion by Frode Nilsen on Mon, Jun 25 2012
    • CSLA and EF DBCotnext

      Hi, I am pretty new to CSLA and I am trying to introduce a BL on top of the already built DL. The DL is build using EF4.3 and the DBContext. I am starting to face some challenges but I am not sure whether it's due to a bad implmementation or an inherent incompatibility between the tools I am using...
      Posted to CSLA .NET discussion by wassimmansour on Sun, May 27 2012
    • Repository pattern (Demo DpRepos) - Invalid attempt to call Read when reader is closed

      Hi All, I'm currently working on de DpREPOS from the CSLA Core video series to learn how manipulate the DataAccess. Actually, im focusing on the Repository pattern, using DataPortal_XYZ methods (EncapsulatedInvoke data reader) So, I have reproduced a small demo where the structure is almost identical...
      Posted to CSLA .NET discussion by cconte on Tue, Jan 17 2012
    • Two tier vs. Three tier needs analysis

      We have a smart client application and historically have always used the local dataportal (two tier). We have some potential engagements with large customers coming up. Are there any specific best practices or guidance on how to do a proper needs analysis to determine the best physical deployment scenario...
      Posted to CSLA .NET discussion by gl006 on Mon, Nov 7 2011
    • Customize Authorization Rules Messages.

      Hello all. I'm using Authorization Rules in my Business Objects but when any Authorization Rule is broken the message provided on the exception do not fits my needs. I was reviewing the implementation of the DataPortal class and CSLA throws a Security Exception and loads the exception message from...
      Posted to CSLA .NET discussion by omarcusido on Fri, Oct 14 2011
    • update problem with wcf remote dataportal using http binding

      Hi there I have a root object (32kb when serialized) that I have problem with when saving. The save works fine when using a local dataportal but not when using a remote dataportal. I don't get any errors. I can fetch the object just fine. Any ideas on how to debug this? Edit: this seems to be a more...
      Posted to CSLA .NET discussion by fsl on Wed, Oct 12 2011

    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