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

TimeZoneInfo Property Will not Serialize

I am getting an error when my business object is being returned from the server to Silverlight:Type 'System.TimeZoneInfo' with data contract name...

View Article


Command Objects executed with BeginExecute are not Async (4.5.24-RC)

I am using the DataPortal_Execute methods in my command objects.  I call them from the Command's Factory Method:DataPortal.BeginExecute(Of MyCommandObj)(cmd, callback)I call the Factory Methods from a...

View Article


Tests FAIL running in VS2012, but PASS in VS2010

 In VS2010 my MSTest tests run just fine.When running in VS2012 I am getting an error. The test sets the Csla.ApplicationContext.User with a Custom Business Principal. When EntityFramework is asked to...

View Article

Extending BusinessRules to Support Client-Side Validation in ASP.NET MVC

I am working on a way to make custom CSLA validation rules work with the extensible validation architecture of ASP.NET MVC. I have worked out how to extend MVC to inject the client-side rules, like...

View Article

How do you bind ComboBox's ItemsSource with Caliburn Micro?

I have a NameValueList in the libs and need to bind it to a wpf combobox. We used to use CslaDataProvider but now the CollectionViewSource is the way to go I guess. How do you do that?Thanks

View Article


SmartDate Question: Appears to be truncating time portion.

I have a ReadOnlyList and a BusinessBase class that contains Event information something like this.          public static readonly PropertyInfo<SmartDate> StartProperty =...

View Article

Specified argument was out of the range of valid values.

Csla 4.3.10.0  Silverlight appI am getting the following error."Specified argument was out of the range of valid values. Parameter name: Unhandled CSLA Known type was found"This occurs at this point...

View Article

CSLA launched through COM

We have a VB6 application that launches a .NET CSLA DLL through COM and works fine.  However, when the underlying VB6 DLL is launched through COM and then the CSLA DLL is launched through it, it does...

View Article


AddOutValue/LoadProperty not functioning on Guid data type in Business Rule

I have been scratching my head for some time trying to figure out why my business rule wasn't setting a Guid property on my business object, since I had done this sort of thing before. However, it...

View Article


Index was outside the bounds of array - Problem only After Build deployed,...

Hi,Our project was built based on concept "Encapsulate Invocation", which has UI, Business Layer and Data Access Layer. And, in one of the forms a method call ends up showing the error "Index was...

View Article

Per-property authorization rule that depends on async, lazy-loaded property

What is the best approach for implementing a per-property authorization rule that depends on the result of an async, lazy-loaded property?Here's my suggestion: [Serializable]public sealed class Parent...

View Article

CSLA error on Fetch data

Hi,When i want to fetch record from CSLA it's giving error , we are using CSLA version 1 with window 7, please help me.ExceptionSource: Csla: DataPortalException: DataPortal.Fetch failed...

View Article

Version 4.5.30 now available

CSLA 4 version 4.5.30 is now available via nuget and the download page.This version includes a number of bug fixes and some new features and is a recommended upgrade from 4.5.20.Perhaps the biggest new...

View Article


Version 4.3.14 available via nuget

CSLA 4 version 4.3.14 is now available via nuget.This version adds support for DateTimeOffset to SafeDataReader, addresses a MobileFormatter deserialization bug, and fixes an issue with warnings in...

View Article

BeginSave bug in 4.5+

Hello,I have a Silverlight CSLA project in VS2010 and it had been working with 4.3+ just fine. Then I upgraded to 4.5.10 when that was released using Nuget. Unknown at the time, the BeginSave method...

View Article


DataPortal_Create

I am trying to code a unit test for one of our business objects but I had a question about the way I am calling the dataprotal create method.  Here is a code snippets.  Should I not use a criteria...

View Article

DataPortal_Create method

I am using the CSLA 3.x framework.This is my Unit Test method for the DataProtal Create method for one of our business objects.  Should I add anymore to it?         /// <summary>        ///A test...

View Article


Per type rule example

Hello,I have a business object for which I need to make some validations that involve several properties of the object and more data that I will need to read from the database. I'm using this object in...

View Article

Csla .NET Contrib version 4.3.16 available on Codeplex and NuGet

Maintenance release (update to Csla 4.3.14)This release depends on CSLA .NET 4.3.14 and is also available on NuGetChanges since Csla .NET Contrib 4.3.13Updated MEF call to only use SatisfyImportsOnce()...

View Article

difference between upload and download size for WCF client

Hi I am using CSLA 4.3.10.0 in a multi tier application which uses WCF in IIS 6. The WCFconfig uses the standard 'wsHttpBinding' binding with no compression.Recently whilst testing a new app I started...

View Article
Browsing all 764 articles
Browse latest View live