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.
    • using WCF service in mvc with csla

      Hello all, i have a WCF service Provided by csla. i want to consume this service in my MVC Project. i have create a object fo service like below: ClientServiceReference.WcfPortalClient obj = new ClientServiceReference.WcfPortalClient(); to fetch the data i have used obj.fetch(). but getting error as...
      Posted to CSLA .NET discussion by Narvesh on Tue, Feb 11 2014
    • MVC4 Binding an object which has a property of type BusinessListBase

      Hi I have a viewmodel set up which is of type object1. Object1 has some properties, one of which is another object(object2) of type BusinessListBase. Currently when I submit my form using defaultModelBinder, object2 always has count = 0. Is the only way to bind the list to use FormCollection as below...
      Posted to CSLA .NET discussion by dsburny on Fri, Jun 7 2013
    • Calculating Rules for two Dependend Properties

      CSLA Version 4.1 Hello ! I have two Properties: one called DeliveryWeek (LieferKW) and one called DeliveryDate (Liefertermin). Further i have two Rules which calculate a DeliveryDate (Friday of Week) from DeliveryWeek and one Rule that calculate a DeliveryWeek vom DeliveryDate. The User must can change...
      Posted to CSLA .NET discussion by ThiloS on Thu, Apr 25 2013
    • syntax for csla 4

      In my pre csla 4 code I have [RunLocal] protected override void DataPortal_Create() { _userID = -1; ValidationRules.CheckRules(); //cannot resolve ValidationRule compile error here } What is the syntax when porting to csla 4.0 ? thanks
      Posted to CSLA .NET discussion by gullu on Mon, Aug 20 2012
    • LoadProperty not converting null to empty string?

      I'm having a problem which is a bit unexpected. Basically, I'm using a command object to get some data from a SQL database. The command object uses registered properties, one of which is a string. The column in the database is nullable, and so LoadProperty is sent a value of null via the property...
      Posted to CSLA .NET discussion by Andy on Sun, Apr 29 2012
    • Best tact for Hierarchical queries

      I need to query an EditableRootList by hierarchical child attributes. An example from Using CSLA would be a Invoice->LineItems->LineItem. I would like to return all Invoices for this month that have an LineItem Amount over $500.00. Should I make a Command or this a Unit of Work? I do not see in...
      Posted to CSLA .NET discussion by csmith1 on Thu, Mar 8 2012
    • Rules triggering other rules

      I have a business object set up with properties AAA, BBB, CCC and DDD. I wanted to blank the latter properties if early ones get changed. This means if BBB changes, AAA will be left alone and CCC and DDD will be set to nothing. I have set up a rule so that if AAA changes it sets BBB to Nothing, another...
      Posted to CSLA .NET discussion by Daniel Morey on Tue, Dec 13 2011
    • Server-side Data Portal hooks

      Hi All Is there some way I could hook an event / override to the server side of the data portal to allow me to validate some information about the request? For example I might need to get a custom session property off of the ApplicationContext.User to slide / expire the session. There are some other...
      Posted to CSLA .NET discussion by Jaans on Wed, Nov 30 2011
    • Documenting Business logic

      I have to add a new module to a complex .Net web application written in C#. It is used in a case management system and the module manages cases that are even more complex than the existing application. One of the weaknesses of the existing system is that the business logic can only be seen in the code...
      Posted to CSLA .NET discussion by kevinsky on Sat, Nov 26 2011
    • Late binding VB.net com class

      I've create a my first vb.net assembly with CSLA business objects in. I have then created a seperate vb.net assembly with a com class in it that I'm using to join my business objects to vb6. So in my old vb6 program I late bind to the com class and I call the methods on that, without direct referencing...
      Posted to CSLA .NET discussion by Daniel Morey on Wed, Nov 23 2011
    • Problem with MethodInfo

      Hi everybody, in a SL4 Project using CSLA 4.1 I have a BusinessBase class containing 2 Methods: public void doWork(EventHandler<DataPortalResult<doWorkCommand>> callback) public static void doWork(int Id, EventHandler<DataPortalResult<doWorkCommand>> callback) I would like to...
      Posted to CSLA .NET discussion by Uwe Hein on Wed, Nov 9 2011
    • problems with ClientContext being cleared

      Hi, I am having a problem with the ClientContext. I am using CSLA 4.1.0 for Silverlight. I've had this problem before and I thought I fixed it but it keeps coming back. It is a problem with the async DataPortal. I believe the problem occurs when there is more than one simultaneous call to the DataPortal...
      Posted to CSLA .NET discussion by richardp on Wed, Nov 9 2011
    • Managed Properties and Memory Leak

      Recently we upgraded our code base to CSLA.NET 4.1. In doing so we introduced managed properties to most of our business objects. In particular: public static PropertyInfo<TextEncodingInfo> TextEncodingProperty = RegisterProperty<TextEncodingInfo>(c => c.TextEncoding); public TextEncodingInfo...
      Posted to CSLA .NET discussion by jconway on Mon, Oct 31 2011
    • RuleContext ArguementOutOfRangeException

      Would it be possible to throw a different exception if you're trying to call AddXXXResult and the property isn't in the list of AffectedProperties? Something that would be clear without opening the Csla source would be great.
      Posted to CSLA .NET discussion by Andy on Tue, Oct 18 2011
    • InputProperties vs. AffectedProperties Inconsistency

      I'm just curious, why is InputPropertys set by newing up a list and setting the reference directly while for AffectedProperties you have to Add or AddRange?
      Posted to CSLA .NET discussion by Andy on Tue, Oct 18 2011
    • Csla 4 - Clearing out principal?

      I've upgraded WebForms project to use Csla 4. The business layer seems fine mostly, all the tests have passed and I'm fixing minor things with how BOs are build (private backing fields not specifying that in relationship type, etc). One thing I'm stumped on is the handling of the ApplicationContext...
      Posted to CSLA .NET discussion by Andy on Sun, Oct 16 2011
    • CSLA4 and Razor WebGrid Help - (StackOverflowException)

      Hi, Due to a major scope change, I've recently upgraded an existing project from CSLA3.8 + WPF to CSLA4 + MVC3 (razor). I should let you know at this point that I have much less experience with ASP.NET than WPF! My issue is with trying to use the WebGrid with a 'ReadOnlyListBase' in ASP.NET...
      Posted to CSLA .NET discussion by John Flackett on Wed, Oct 12 2011
    • Business Rules - Determining Async for Clients, Sync for ASP.NET ?

      On page 105 of Rocky's Using CSLA 4: Creating Business Objects, a code sample is given to set IsAsync based on whether the code is on the Client or ASP.NET (ie want async server access in business rules on smart clients (Silverlight, WPF, Metro, etc but not code on ASP.NET servers): #if SILVERLIGHT...
      Posted to CSLA .NET discussion by SMILEMan on Wed, Oct 12 2011
    • Asp.Net MVC Custom Principal losing information

      If I have a user "A" logged in, then when user "B" pulls up the site (without logging in), then user "A" custom identitiy properties are lost. This also occurs if both users are logged in and one of the users logs out. The custom pricipal object is being stored in session...
      Posted to CSLA .NET discussion by RandyH on Mon, Oct 10 2011
    • Csla.Xaml.InvokeMethod exception handling

      This is the scenario: WPF-MVVM-CSLA 4.1 application The views trigger the view model methods via Csla.Xaml.InvokeMethod There is an AppDomain-level exception handler in App.xaml.cs for logging any random, app-killing exceptions for analysis and troubleshooting The problem is that InvokeMethod.CallMethod...
      Posted to CSLA .NET discussion by BrianPerry on Wed, Oct 5 2011
    Page 1 of 2 (40 items) 1 2 Next >

    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