-
I discuss various alternatives in the 'Expert 2008 Business Objects' book and in the 'Using CSLA 4' ebook series. Because the web server doesn't remember anything between requests, you have to recreate or re-obtain the principal/identity at the start of each page request. In and of...
-
I've inherited an ASP.NET MVC project that uses CSLA. Its storing a couple CSLA objects in session, I think this may be part of the problems its running into with hanging\thread locking, but I'm not sure how to explain and convince people that, this is the case so we can make the investment in...
-
Hi, I have been using CSLA 3 for quite a while (started off with c# 2005 Business Objects) and it is now time for me to move on with the times and dive into the new CSLA 4.5. It looks like the current eBooks are for CSLA 4.0. My question is will the "Using CSLA 4 eBooks" be enough to get me...
-
I know how to create custom validation attributes and I know how to make ASP.MVC client validation work with those attributes if I implement IClientValidatable interface, but then I would need to reference System.Web.MVC in the library containing my CSLA objects. Is it possible to create a custom validation...
-
I am developing a POC for a customer using the following technologies. CSLA.NET 4.5 .NET Framework 4.5 ASP.NET MVC 4 I have been running into some issues with the Csla.ApplicationContext.User not holding my Custom principal object. When a user has logged in, it reverts back to the regular principal object...
-
http://www.lhotka.net/cslanet/faq/AspMvcFaq.ashx It is possible that 4.3 is built against MVC 4, I don't remember off the top of my head and I am on holiday for US Thanksgiving. Worst case is that you'd need to build the Csla.Web.Mvc against MVC 4.
-
Two things. First, make sure you have Csla.Web.dll in your bin directory, or ApplicationContext won't work right. Second, remember that web servers are designed to be stateless between client requests. The Csla.ApplicationContext values are state, so of course that state is lost between client requests...
-
Hi all, I've read through Rocky's "Using CSLA 4 with ASP.NET MVC" ebook and have implemented the methodologies suggested by him, including the use of the CSLA Model Binder, but this has lead me to an interesting problem... Some class properties within my business layer have private...
-
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...
-
Is there a problem with populating a model that contains a list? How to reproduce: In the ProjectTracker(4.3.10) sample I have added the rule: BusinessRules.AddRule(new Csla.Rules.CommonRules.MaxLength(DescriptionProperty, 3)); to the ProjectEdit class. When you edit a project you have "Project...