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

Some performance issues when coming back from appserver

I have a survey application where a Survey has multiple questions, each question in turn may have answers(or may not, if not I display a text box).The object structure looks like...

View Article


Do Something based on Validation Result

Hi all.. I have a case : on my UI I want to do something like display a window or refresh some label base on the result of validation on my certain property and display an error too for INVALID...

View Article


Business Rule Instance

Hi all.. I read on ebook that said : one rule instance is shared across all instances of business type.I want to know a foundation / reason to said that ? this is my current understanding, I hope Rocky...

View Article

Have property not affect isvalid

Is there a way to set a property, but tell it that it has no effect on the validity of the object? In my case I have a base class that sets up some rules (one being for an elevation property). Several...

View Article

Rocky is recovering from heart surgery

Hi all, I am posting this message on behalf of Rocky and his family. Rocky went to the ER at Fairview hospital at around 3:00 am on the 24th with chest pains. He was admitted, and examined for possible...

View Article


key/value in web.config file

Hi, we are developing a MVC app using CSLA.net. We deploy seperate layers to seperate servers(web server and app server). If BLL uses some key/value setting in web.config, which web.config should we...

View Article

Validation Rule for two Property Strange

Hi all..I'm learning about Business Rules  Engine on CSLA 4, so I post my another question on http://forums.lhotka.net/forums/p/12091/56013.aspx#56013, thanks jonny :) I have an example for my real...

View Article

How to automatically check the same property with different values

Hi,I have some problem...I have gridview and one column Name, so I implemented Business rule the Name is required and rule the Name is uniqe ...so when I entered text in first row example "Car" after...

View Article


Recommendation for handling dynamic connection strings

Hi.  In the application we are building the connection string to the database will vary based on the project selected by the user from a dropdown.  The schema of the database will be the same for each,...

View Article


Mark Child as Old

Good day.i would like to know how i would go about marking my child objects as old directly after saving them. in my application i have a 'New', 'Preview' and an 'Edit' form, the way i would like it to...

View Article

Child objects and XML data update problem

HiI have an editable root object with a child list. The children are populated from xml data. When I hit save I need to rebuild the xml data from the children. The problem I'm having is with adding...

View Article

Clone/Serialization takes long time

Normal 0 false false false MicrosoftInternetExplorer4I have a BLB EmployeeList which contains a child BLB HrDocumentList.  The HrDocumentList uses a separate DAL and connection than the EmployeeList....

View Article

Trying to order CSLA 4 book - keep getting error

I tried to order CSLA 4 book.  While logging in, when I enter name and password, I get this error:500 - Internal server error.There is a problem with the resource you are looking for, and it cannot be...

View Article


How to create property in Editabale Child Collection

Please help how to create property in collection and how to pass that value when called insert, update methods?

View Article

AuthorizationActions.ExecuteMethod

HiCan anyone explain me why in BussinessRules class there is no overload static HasPermission method that accept  Csla.Core.IMemberInfo parameter?Whenever I want to check permission for a...

View Article


how to use the CSLA framework for filling child collection associated with a...

Hi,I have started using csla framework recently. I have a table that is having one to many relationship with several tables. When i create an object of the master table i dont want to fill all my child...

View Article

A BindingSourceNode problem.

hi, all.When I modify the sample ActionExtenderSample(C# )solution. async save data. than throw DataGridView.IndexOutOfRangeException. I hopeto get some help. Thank you.// fieldprivate...

View Article


Friendly name from resource file

Hi,I have been using the friendly name in the property info to provide proper business rule messages. My problem now is that I need to have my application run in more the one locale. I saw this post...

View Article

Async Execution - ThreadPools, BackgroundWorker??

Guys, hope eveyone is well, but need some advice.I have a class, and that class has children.  Each child is going to connect to a database, calculate some values and return.  At the moment this run in...

View Article

ReadOnlyList based on stored procedure selection

Hi.  I was wondering if anyone has any advice on how to generate a ReadOnlyList object with strongly typed inner list objects from just a stored procedure.  We are converting a lot of CSLA 1.2 objects...

View Article
Browsing all 764 articles
Browse latest View live