Quantcast
Channel: CSLA .NET
Browsing all 764 articles
Browse latest View live

Upgrading from CSLA .NET 2.0 (VS 2005) to the latest stable release (VS 2013)

I have a solution with several projects developed using VS 2005 and CSLA .NET 2.0.We are now planning to upgrade to VS 2013 and use latest stable release of CSLA .NET 4.x.Questions:1. Is this as simple...

View Article


Building CSLA .NET 4.5.20

I can't seem to find any requirements to build CSLA .NET 4.5.20. I know there are pre-compiled binaries available but I would also like to compile them myself.From what I can tell Visual Studio 2012 is...

View Article


CslaModelBinder should add child objects to a collection as appropriate

Hello, I have read this enhancement, but it isn't completed yet. Anyone has an idea which is the best approach to follow? Some guidelines or an example would be appreciated. I read this post...

View Article

Notifying the UI of Save and Deletions - Overriding Save in BusinessBase

In our editable root classes we have some static code that allows UI components to register a delegate method that will be invoked when that editable root is saved.  The purpose is to let forms...

View Article

Building CSLA Project and Sample Framework

I am trying to download the latest version of CSLA .NET to play with it.Last time I worked with CSLA for .NET 2.0 (VS 2005). I remember there was a PDF file which explains how to build the framework...

View Article


Order of updating a list

Hi,In all example DAL code I have seen for updating a list: first the deleted items and then the regular items are processed. I was wondering if this order is important. The reason I ask this is...

View Article

Async login not setting ApplicationContext.User with WinForm?

This my code:        public static void BeginLogin(string account, string password, EventHandler callback)        {            var perform = new...

View Article

MVC 4.5.40?

Howdy howdy,First off, Rocky, I just read about your major event, and I just want to say I wish the best to you. I've learned a lot about n-tier architecture and good practices from you and I really...

View Article


Unable to cast object of type 'Library.FormatParameters' to type...

Hi,I am getting the following error when saving a business object."Unable to cast object of type 'Library.FormatParameters' to type 'Csla.BusinessBase`1[Library.FormatParameters]'." I am loading the...

View Article


Upgrading CSLA 2.x to 4.x

Hello. Several years ago, I inherited a web application that uses CSLA 2.1.0.22. Since then I have upgraded the application to 3.5 then to 4.0 with no issues. This whole time we kept CSLA at its...

View Article

How to get Project Tracker running in VS2013

This is a copy of an entry from our in house wiki that describes everything I did to get Project Tracker up and running VS2013.  This took me probably 12 hours to achieve, hopefully this post will save...

View Article

WinForms - ApplicationContext.User principal being lost

I've recently taken on a legacy project which involves using CSLA with WinForms as a thick client (i.e. CSLA Client and Server within same application).It's currently running CSLA 4.0.1 - I have tried...

View Article

Multiple DataPortals - Could I and Should I?

I have an ASP.NET MVC application that I am currently working on. The application should scale to be able to support web farms. In addition to plain old database access, users will have the ability to...

View Article


Downloading older Csla versions?

I'm trying to find where to download the binaries of older Csla versions.  Previously you could get to this from Lhotka.net which had a download page for versions all the way back to 1.0.  This page...

View Article

From Silverlight to MVC CslaModelBinding child collections

Hi,Background:A while ago we developed a business application for silverlight using the csla framework. Now we wish to create an MVC alternative for people who are unable to use Silverlight for one...

View Article


Unit tests failing if running entire suite

We're introducing Csla into some existing solutions and I'm writing tests for some Csla command objects.  The tests run fine individually, but if I try to run the entire suite of tests for the other...

View Article

Validation object graph and Idataerrorinfo

Hi all, I have a little problem with clsa (net 4.5, wpf), when I force validate a object graph with checkrules (example before save).Business rules raise errors, but Idataerrorinfo will not notify to...

View Article


LoadProperty vs SetProperty setters and performance

Hi there,In my windows project I have more than 50 registered properties per object (more or less) and not every one of them has corresponded field in a Database.If I use SetProperty as a setter, I run...

View Article

MobileProxy error on XP with .NET 4.0

Hi RockyWe have designed our WPF application using CSLA 4.5.31 using the MobileProxy available for target framework .NET 4.0 based on knowing it will be used on XP machines that does not support .NET...

View Article

Wait for object to no longer be busy?

I feel like I'm missing something simple.  If you have a BO with Async business rules, how do you wait for the object to no longer be busy before carrying on with something else, such as asking the...

View Article
Browsing all 764 articles
Browse latest View live