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.
    • 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
    • CSLA unit testing MVC no DAL

      I'm new to CSLA, and also unit testing in general, yet I'm newly assigned to a project that uses CSLA and they want to now write unit tests for it, and I'm lost. The project is a ASP.NET MVC 3 (c#) application, with a csla library that has umm inline? dataportal methods. The actual data fetching...
      Posted to CSLA .NET discussion by zbend on Tue, Aug 28 2012
    • DateTime null database value displays 1/1/1900 in web page

      I have an MVC3 form (C#) that is tied to a Csla 4.2 business object. I have a "scheduleddate" property that needs to be blank when the form is created, and then filled in by someone else when they schedule the activity. The problem I have is that after a form is created, it shows up in the...
      Posted to CSLA .NET discussion by Joan Wojcicki on Fri, Dec 9 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
    • Best practice 3-tier WCF authentication

      We are developing an ASP.NET MVC 3 application using CSLA in 3-tier remoting mode using WCF communication between the external facing hosted app computer and behind the firewall app server computer. What is the recommended best practice to secure the communication between the tiers? I’ve read older...
      Posted to CSLA .NET discussion by GlennMiller on Thu, Sep 15 2011
    • Re: Bug?: Unit Testing Csla.Web.Mvc.Controller results in access exception

      Hi Guillaume Thanks for your response Please explain what you meant by implementing it in your own project. Does this mean you copied the files into your MVC program and did not use the CSLA DLL? I look forward to your response Have a GREAT Day
      Posted to CSLA .NET discussion by BillG on Thu, Sep 1 2011
    • OnChildChanged Not firing from TryUpdateModel call

      I am working with an MVC 3 application using CSLA 4.0, and I have set in the global.asax to use the CslaModelBinder. I have a top level object that derives from BusinessBase<T> (I will call it Labor), and that object has a child collection (LaborLogList) that derives from BusinessListBase<T>...
      Posted to CSLA .NET discussion by EbenK on Wed, Jul 20 2011
    • Re: Bug?: Unit Testing Csla.Web.Mvc.Controller results in access exception

      Thanks for the Response I have other tests that are exercising the DAL and In those cases there is a separate Mock DAL and the tests work correctly But It does seem to be an access issue as the Exact Error is Attempt by method 'Ecord.Razor.Controllers.HomeController.Index()' to access method...
      Posted to CSLA .NET discussion by BillG on Mon, Jul 18 2011
    • Re: Bug?: Unit Testing Csla.Web.Mvc.Controller results in access exception

      HI Yes I do have the References to CSLA, CSLA.WEB and CSLA.MVC
      Posted to CSLA .NET discussion by BillG on Mon, Jul 18 2011
    • MVC Unit Testing

      I just finished reading the MVC 3.0 book and was wondering about the best way to Unit Test the MVC controllers. IoC seems to be the recommended way of doing this but how would that work with the business object factory methods? Should we be using a viewmodel to decouple the model from the controller...
      Posted to CSLA .NET discussion by lacota on Sun, Jun 26 2011
    • Problem chaining rules with CSLA Common Required rule

      I am having some trouble trying to chain two rules using the Csla.Rules.CommonRules.Required rule as the inner rule. Basically, I want the Width2 property to be required if the Shape property is not equal to "Circular". Here is my code: private class ShapeGate : BusinessRule { public ShapeGate...
      Posted to CSLA .NET discussion by Eben on Mon, Jun 20 2011
    • Problem running PTracker for MVC eBook

      I am not sure why I keep getting this error and what is causing it. Here it is: System.Reflection.TargetInvocationException was unhandled by user code Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type...
      Posted to CSLA .NET discussion by CyclingFoodmanPA on Mon, Jun 6 2011
    • MVC3 Master Detail Create

      I am getting a "No parameterless constructor defined for this object. " Exception Details: System.MissingMethodException: No parameterless constructor defined for this object. I have a MVC3 website that has a parent object named "Parent". This parent has a collection of "Child1"...
      Posted to CSLA .NET discussion by fark on Tue, Apr 19 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