csla

Xaml - add existing control to grid

Trying to develop using MVVM: I have this Csla.PropertyStatus control that is created in my ViewModel. I want to add it in the xaml (via binding, i think) and set some additional properties there (such as the target). I don't know how i could do that, not even if that is possible. I was looking for something like <csla:PropertyStatu...

error opening CSLA solution

I have downloaded cslalightcs and when I try to open cslalightcs.sln I get an error message saying "The project file c:cslalightcs\csla\cslalight.csproject cannot be opened. The project type is not supported but this installation" I have opened C# files before. Anyone know why I am getting this message? I am using VS 2008. Paul ...

WCF LINQ CSLA Problem

I have a solution that uses CSLA for Business Layer and LINQ to SQL on another. We need to use WCF so that we can host our database on remote servers but it seems that the application cannot read the web.config file in WCF project using ContextManager. We tried using ConnectionManager and somehow it worked. Is there a known issue with Co...

Java "equivalent" to CSLA

I've read several chapters of the CSLA book and I like it, but being lately geared more towards Java, I'm looking for a Java-based equivalent. Does anybody know anything that comes close to CSLA in Java? I would also settle for a good combination of other existing technologies that would achieve similar goals. ...

CSLA, ASP.NET and AJAX ModalPopupExtender - how do I not load an object when the ModalPopup is not visible

I am in the middle of an ASP.NET project where I am using the CSLA framework and the AJAX ModalPopupExtender control. I have used CSLA and the ModalPopupExtender in different projects before, but this is the first time I am using them together. The way I want it to work is for the user to push a button, which will create an instance of...

Error deleting a record using Linq2SQL

I've received an error report from a client recently and am having no luck resolving it. I'm hoping someone can give me some insight to what may be wrong. The error seems simple enough: Csla.DataPortalException: DataPortal.Delete failed (System.InvalidOperationException: Sequence contains more than one element at System.Linq.Enumerab...

Implementing C# Business Objects (CSLA)

We are about to commit to implementing Rocky Lhotka's CSLA as an application development Framework for our Visual Studio 2008 solutions. I would like to test the water on SO and am particularly interested in developer's opinions of the approach in comparison with other ORMs such as Entity Framework or nHibernate. Also, what is the learn...

Subsonic and CSLA.NET

Can SubSonic be used with CSLA.NET? Has anyone tried this. From my understanding SubSonic is a DAL CSLA.NET is a BAL (BLL) I can't seem to find any information on this. ...

.NET Domain Driven Design and CSLA.NET

In Eric Evans' Domain Driven Design approach, would it be a good idea to use Rocky Lhotka's CSLA.NET for designing Business Entities for Domain Layer? ...

CSLA Not reporting object as dirty after being changed.

Hi, I've got a CSLA object that is returning data from the database fine but when I change any of the properties on the object the object still says IsDirty = "false". Although when I create a new object it reports IsDirty = "true". I'm sure its just something simple that I'm missing in my code. The following is my object: [Seriali...

How do I handle two assemblies with the same filename during a TFS 2010 RC build?

I am following the CSLA.NET for Silverlight pattern of using the same filename for the business objects assemblies. For example: CSLA.dll // .NET assembly MyProject.Entities.dll // .NET assembly CSLA.dll // Silverlight assembly MyProject.Entities.dll // Silverlight assembly This is done so you can use a si...

Multiple csla:InvokeMethods on a Control

How do you set multiple csla:InvokeMethods on a control? for example a csla:InvokeMethod.TriggerEvent for the click event and one for the MouseEnter event of a button? This obviously won't work csla:InvokeMethod.TriggerEvent="Click" csla:InvokeMethod.MethodName = "OnClickHandler" csla:invokeMethod.TriggerEvent="MouseEnter" csla:...

Recommendation for creating DAL objects

Hello There, Can you recommend a DAL object creator that is simple yet useful. I want something that creates and updates object the way LINQ does. It should be in c# and much better if it splits object's properties and data access methods in partial classes. We've used CSLA before but I want something more simplier for our next project...

Issues with storing the custom Principal in Session for ASP.NET MVC

I am running into an issue with ASP.NET MVC where it is forcing the user to log back in after about 20 mins of inactivity. I am using Forms Authentication and have increased the time-out in the config file as: <authentication mode="Forms"> <forms loginUrl="~/Account/LogOn" timeout="9999999" /> </authentication> I am also setting th...

How to implement a single business logic layer based on CSLA and consume it from WPF, Winform and Silverlight?

Is it possible to have a single implementation of business logic layer (based on CSLA) and consume it from different presentation technoligies like winform, silverlight etc. There exists CSLA for silverlight. Does that mean implementing and maintaining different BLL for different presentation technologies. Any help would be appreciated....

What are the exact differences between CSLA for silverlight and windows?

How CSLA for silverlight and windows differ? What are exact differences in terms of features? ...

How to create a platform ontop of CSLA? <-- if in case it make sense

Here is the scenario, I'm developing an application using csla 3.8 / c#.net, the application will have different modules. its like an ERP, it will have accounting, daily time record, recruitment etc as modules. Now the requirement is to check for common entities per module and build a "platform" (<- the boss calls it that way) from it....

csla.net contrib - CslaContrib.MVC

Hi, Has anyone got any experience/thoughts on the CSLA.netContrib project on codeplex - here. In particular the CslaContrib.MVC part. Any pitfalls for the contrib? Anything where it caused any problems during development? etc. ect. Thanks ...

How do we extend CSLA.NET if we wanted to have our own business objects using c#

Hello, can we create our own platform/objects and interact it with CSLA.NET, is this possible or not? Can somebody out there who has more experience in CSLA.NET can help or advice. Thank you ...

Async validation rule in csla

Does anyone have a simple example of implementing an async validation rule in csla? I have looked at the example in the Company class in the Rolodex sample but this isn't particularly clear to me: why do I need a command class? I'm using csla 3.8 in a WPF application. ...