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

      I have a WCF service Provided by csla. I want to consume this service in my MVC Project.I have create a object of service like below: ServiceReference2 . WcfPortalClient obj = new ServiceReference2 . WcfPortalClient (); Application App = new Application (); var AppType = App . GetType (); ApplicationCriteria...
      Posted to CSLA .NET discussion by Narvesh on Fri, Feb 14 2014
    • 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
    • Execute Business rule on child object When Parent property has change.

      I have parent root(Mater) object as BusinessBase which has BusinessListBase(ChildList) object as a child. Parent (BusinessBase) - Child List (BusinessListBase) - Child (BusinessBase) I have a custom business rule implemented in child object (BusinessBase of ChildList), which depends on parent root(Mater...
      Posted to CSLA .NET discussion by Marsh on Mon, Mar 12 2012
    • IsInRole(AuthorizationActions, params string[] roles) in CSLA 4.2

      Hi, I'm using CSLA 4.2 and the above subject is not working on my PC when i put something on the roles part. Did i miss something? Below are sample code snippets: protected static void AddObjectAuthorizationRules() { Csla.Rules.BusinessRules.AddRule(typeof(SomeClass), new Csla.Rules.CommonRules.IsInRole...
      Posted to CSLA .NET discussion by maxdrive on Mon, Feb 27 2012
    • BO Async call returns before observable collection loads

      Hi Folks, - Using silverlight 4. Csla 4.2 Bxf and MVVM design pattern I am designing an SL application and I am struggling to get my List to bind correctly to my observable collection from my viewmodel. Actually, I am using an observable collection ( UserEditVM. MessageInfoList ) to wrap all the children...
      Posted to CSLA .NET discussion by cconte on Thu, Feb 16 2012
    • Is it required to Implement the IAuthorizeDataPortal?

      Hi, We are using the 3-tier architecture environment for our web application. We are using the AspNetMembershipProvider for authentication and authorization. On observing the example provided in Authentication folder, I've came up with couple of doubts. FYI: Web layer MVC3 (No Silverlight and WP7...
      Posted to CSLA .NET discussion by SreeRamaSaran Mullapudi on Mon, Feb 13 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
    • Business Rule for Not Allowing Edit or Delete for a Specific Record

      I have a business object and a corresponding database table called Role. In this table I am preloading two default records. The first is named "Administrators" and second is named "Users". I want to allow people to add, edit, and delete roles, except for these default ones. I was...
      Posted to CSLA .NET discussion by korzy1bj@gmail.com on Thu, Jan 19 2012
    • Agatha vs CSLA.Net

      My company has recently started using Agatha ( http://davybrion.com/blog/category/agatha/ ) as a business framework for some prototype work. It's really new (read: not mature) and I have some reservations about using it as opposed to a framework such as CSLA that has a lot of years behind it. Agatha...
      Posted to CSLA .NET discussion by Josh on Wed, Jan 11 2012
    • How to disable Removebutton per instance in ProjectTracker?

      I want to disable the RemoveButton per Instance. In the sample (05-WpfSl-111028) the Removebutton in ProjectList View binding to ProjectList ViewModel's CanRemove: public new bool CanRemove { get { return Csla.Rules.BusinessRules.HasPermission(Csla.Rules.AuthorizationActions.DeleteObject, typeof...
      Posted to CSLA .NET discussion by simon on Tue, Jan 10 2012
    • CSLA.Xaml.Aero???

      Hello, We have just updated our project to use CSLA We are binding a Read Only List in WPF which is working fine. The weird thing is that if I look at Intellitrace I see and exception being thrown/caught. "Could not load file or assembly 'Csla.Xaml.Aero, Version=" I'm...
      Posted to CSLA .NET discussion by reagan123 on Mon, Dec 12 2011
    • Re: CSLA 4 version 4.2 available

      I have just updated a small silverlight app to use CSLA 4.2 via NuGet, and now I'm getting the following error: Could not load file or assembly 'Csla, Version=, Culture=neutral, PublicKeyToken=93be5fdc093e4c30' or one of its dependencies. The located assembly's manifest definition...
      Posted to CSLA .NET discussion by lds on Fri, Dec 2 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
    • Re: Visual Studio Templates and 4.2 Beta

      Do you still plan on releasing to Visual Studio Gallery? I noticed the Nuget link on the Csla source download page and downloaded the Nuget Package Manager in VS Extension Manager. I installed Csla for Windows Forms. Pretty slick! Its like the app store for Visual Studio. One Question. Should the Nuget...
      Posted to CSLA .NET discussion by Matthew Copeland on Sun, Nov 20 2011
    • Portable Library Tools Support would be nice

      I stumbled across Microsoft Portable Library Tools http://msdn.microsoft.com/en-us/library/gg597391.aspx http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981/ It would be nice if CSLA models could support the Portable Library Tools. One complied library that support everything...
      Posted to CSLA .NET discussion by csmith1 on Tue, Oct 25 2011
    • Re: Business Rule

      Hi Stefan, No, we haven't discussed or even considered a mode for RunOnlyBeforeSave. The main reason is that inside CSLA the BusinessRules.CheckRules() is only ever called by the framework in Core.BusinessBase: DataPortal_Create Child_Create ICheckRules.CheckRules (used by CslaModelBinder in web...
      Posted to CSLA .NET discussion by JonnyBee on Wed, Oct 19 2011
    • CSLA 4.2 Mono Support

      This is my first post in this forum, so let me start by saying that I consider CSLA a great product, and one of the most important contributions to the .NET developers community. I have always seen in CSLA the framework that Microsoft have never provided in order to build Business applications. I was...
      Posted to CSLA .NET discussion by reyhc on Sat, Oct 1 2011
    • How to get additional standalone property from viewmodel or model?

      I have a textbox in a view with MaskBehavior <Usercontrol > <TextBox Grid.Row="1" Grid.Column="1" Margin="3" Height=" 23" Text="{Binding Model.No,UpdateSourceTrigger=PropertyChanged}" inf:MaskBehavior.Mask="{Binding Path= NameMask}"...
      Posted to CSLA .NET discussion by simon on Mon, Aug 1 2011
    • Custom Busines Rule for numeric property

      Hello, I've a Custom Rules that checks if the user entered a valid numerical value (Double.TryParse) I override the AddBusinessRules Method and added the rule like this: BusinessRules.AddRule(new Business.CustomRules.Numerical(PreislistePos.PreisNormalProperty)); It works fine, as long as the user...
      Posted to CSLA .NET discussion by Kevin on Wed, Jul 27 2011
    • Csla 4.2 Rules Makeover

      Hi all, I have experienced some challenges with the rule engine and have been working on improvements for Csla 4.2 that I'd like to geed feedback on. Please - read on and consider where you have had shortcomings/challenges with the rule engine and if these changes will allow you to create rules as...
      Posted to CSLA .NET discussion by JonnyBee on Wed, Jul 20 2011
    Page 1 of 1 (20 items)

    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