Questions tagged [csla]

CSLA .NET provides a home for your business logic. It helps you build a scalable and reusable business domain object model for your application. Your business logic can run anywhere .NET runs: Windows, iOS, Android, Linux, Mac, and more.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

VS Test Explorer requests older version of Microsoft.Extensions.DependencyInjection.Abstractions than is installed

I've got a Test project that has the Microsoft.Extensions.DependencyInjection.Abstractions NuGet package with version 3.1.9 which is the minimum requirement version of the CSLA.NET NuGet package that ...
Oskar Fjeld's user avatar
0 votes
2 answers
96 views

Prism for Xamarin.Forms with Unity and CSLA

I'm currently working on a Xamarin.Forms application using Prism and Unity as my IoC container. I'm also attempting to add the business logic framework CSLA to my application. There is a Xamarin ...
T-Rev's user avatar
  • 92
0 votes
1 answer
84 views

Reloading child BusinessListBase object inside a parent ReadOnlyBase object on database update

I'm very new to CSLA and have been roped in to fix bugs in a legacy code that uses CSLA. I'm facing the following issue, Our microservice loads a ReadOnlyBase during the first call and I'm assuming it ...
user1890098's user avatar
0 votes
1 answer
96 views

CSLA: Is it possible to BusinessRule.Add() for every Property that is of a specific Type, without having to add it manually for every property?

I have created a rule for checking if a DateTime is valid. I want to add this as a BusinesRule for every single DateTime Property to checks if the user input entered is valid and else give a warning. ...
user3261212's user avatar
0 votes
1 answer
365 views

Upgrade to CSLA 6: ConnectionManager problem

we are trying to upgrade to CSLA 6. now, we are getting a message: "ConnectionManager is obsolete, use dependency injection ... use ApplicationContext.LocalContext" for this code: using (...
JhonMalk199's user avatar
0 votes
1 answer
465 views

Custom Blazor Input Control Wrapper Components not updating correctly

I need some help with a Blazor implementation of input controls. I am using CSLA with Telerik Blazor controls. I have taken the standard Telerik Blazor TelerikTextBox and TelerikNumericTextBox ...
Adrian Wright's user avatar
1 vote
1 answer
315 views

CSLA authorization per property

I have a BusinessBase with a lot of PropertyInfo. It has an AuthorizationAction.EditObject that all user can change it. But some user have access to different fields. User A can update all properties....
the_lotus's user avatar
  • 12.7k
1 vote
1 answer
55 views

Is it possible to have AuthorizationRule on CSLA CriteriaBase

Is it possible to have AuthorizationActions.WriteProperty rules on a CriteriaBase in CSLA ? I have a screen with a bunch of filters and I want to enable only those that the user has access (ex: some ...
the_lotus's user avatar
  • 12.7k
0 votes
1 answer
222 views

csla 4.5.600 -> csla 5.3.1 migration big issues

We've been using CSLA 4.5.600 for years, for some reasons migration to every more newest version was postponed. Now, we'd like migrate to latest one (5.3.1) mostly it was OK, we've got compilation ...
JhonMalk199's user avatar
0 votes
1 answer
80 views

SQL generated by CSLA

it's possible to overview SQL generated by EF or Linq2SQL etc. There are few techniques for this purpose. But is it possible somehow to do the same for CSLA? The project's development becomes slower ...
JhonMalk199's user avatar
1 vote
1 answer
127 views

HasPermission is false on parent but true on child

I have a parent/childs relationship and both use AuthorizationRule. The save is always done on the parent. For some users, they do not have access to modify the parent but do have access to modify the ...
the_lotus's user avatar
  • 12.7k
0 votes
1 answer
130 views

Csla.resources.dll could not be found

Localization is required in one of the project. By default, csla is built for en-US for other cultures it generates satellite assemblies placed in folders something like ar/Csla.resources.dll bs/Csla....
JhonMalk199's user avatar
0 votes
2 answers
329 views

Insert using DataContext and getting ID CSLA C#

How can I retrieve the ID during an insert in C# using CSLA? The stored procedure does an insert into the database table and then has a SELECT @Id (which is set with the SCOPE_IDENTITY()) after the ...
Intermediary Developer's user avatar
0 votes
0 answers
85 views

How to release reference to object from ManagedObjectReference?

I'm investigating a memory leak issue in our Silverlight application, and found an object that is supposed to be cleaned up at the end but is still alive. This object contains lots of data and takes ...
Mike Minh Le's user avatar
1 vote
2 answers
1k views

WPF - Warning icon shows with red borders only, without red box

How to change the red box around a TextBox to a red circle with an exclamation mark? On error, WPF can show either a red border around a TextBox or a warning icon. When I create a simple test ...
JhonMalk199's user avatar
0 votes
2 answers
136 views

Different return and declared function type result, With Strict Mode Off

i have a project which runs with strict mode off and this code. Public Overloads Function Save() As Child Return MyBase.Save() End Function Upon turning strict mode on, an error displays: ...
vfle's user avatar
  • 1,375
0 votes
2 answers
144 views

CLSA AddChild Default values

I'm using CSLA latest release and trying to add a row with default items to the collection. What I've noticed is the default constructor of the Foo class is called instead of the AddNewCore in the ...
kcabral's user avatar
  • 35
1 vote
1 answer
443 views

Csla.Configuration.ConfigurationManager Exception

I'm trying to use CSLA with Xamarin iOS and Andriod. The Xamarin iOS works fine until I add CSLA and do a fetch. It throws an exception on DataPortal.Create(). Having the same issue with Andriod as ...
rnach's user avatar
  • 11
0 votes
1 answer
193 views

CSLA.NET Overriding LoadProperty

We would like to mask some information in our business objects based on roles, seeing that our codebase is shared between multiple projects we would like to do this in the business logic instead of in ...
Chrisjan Lodewyks's user avatar
0 votes
1 answer
161 views

CSLA SerializationException on BeginEdit when using LazyGetPropertyAsync

Having a problem when using LazyGetPropertyAsync on a business object, I've put some code examples to show the basic structure of this issue. As soon as I call BeginEdit (After a fetch) I am getting ...
Matt Conway's user avatar
2 votes
2 answers
778 views

How to exclude all folders containing Csla.Resources.dll from publish in dot net core?

I'm using CSLA framework with dot net core 2.0. When I do publish (dotnet publish -c Release -r ...) using Release configuration additional folders (tr, sv, sr) to name few of them, contains Csla....
ITGoran's user avatar
  • 442
0 votes
1 answer
120 views

C# SerializationException in Office 2013/2016 VSTO add-ins with CSLA

I first asked for help on the CSLA forum, but I haven't been able to solve this yet. I have created a test VS2015 solution which demonstrates the issues I am experiencing. I am using CSLA 4.6.603 in ...
Michael Csikos's user avatar
0 votes
1 answer
49 views

Having issue for load test scripting for application implemented using silverlight and CSLA

We are testing application which is implemented using Silverlight. The development team has used CSLA for encryption and decryption of request and response body. A message body is in an encrypted ...
Jagdish sonawane's user avatar
0 votes
1 answer
584 views

How to capture duplicate values and show message box while reading from database?

I've a DataGrid which uses a list object. I would like to prevent users from entering duplicate values into database. My stored procedure already prevents duplicate data from entering into database ...
Mihika's user avatar
  • 1
2 votes
1 answer
1k views

Error on serialization due to circular dependency

I have a custom base class Entity decorated with [DataContract(IsReference = true)] and deriving from UndoableBase of CSLA.net. Keeping IsReference is important to preserve object reference data. [...
Furqan Safdar's user avatar
2 votes
1 answer
1k views

"Can not directly save a child object"

Not able to save ListeItem Marked as IsChild True,IsValid True and all other flag needs to save child to DB. Can any one suggest how to get rid of this error in CSLA.
user6060882's user avatar
0 votes
0 answers
274 views

Deserialize JSON to CSLA object list

I am not able to convert JSON to object format using CSLA. Here is my JSON: [ {\"SupplyChainNodeId\":11046, \"PhoneNumber\":\"7704428881\", \"BranchNumber\":\"172\", \"BranchNameRaw\":\"\", ...
Gurpreet Singh's user avatar
1 vote
2 answers
11k views

How to solve generics error CS0311?

I have searched the web and stackoverflow and found many posts that deals with CS0311 error. None of the scenarios are close to mine. I have a generic class that inherits from a generic class. Please ...
Bill's user avatar
  • 67
0 votes
1 answer
209 views

Use CSLA for auditing?

We have CSLA v2.0.50727, and they are asking me to take an audit check. So I would like to know if: ¿Can I know With CSLA what properties of my object have changed? ¿What recommendations do I have ...
Pit's user avatar
  • 38
1 vote
0 answers
147 views

How to use CSLA FieldDataManager to track individual property IsDirty status?

In a WinForms application I want to track the IsDirty status of a specific property (besides the IsDirty status of the business object. I found some references to Csla.Core.FieldManager....
George's user avatar
  • 315
1 vote
0 answers
175 views

How to customize Orchard's default FormsAuthentication to my own custom authentication

I need to customize Orchard's default FormsAuthentication to my own custom authentication Currently FormsAuthenticationService class is checking if (httpContext.IsBackgroundContext() || !...
Nitheesh's user avatar
0 votes
2 answers
252 views

Issue when using WCF service in mvc

I have a WCF project with CSLA and I have published this service and MVC application in my IIS Server, but it's throwing one error when calling the service from Web app System.ServiceModel.Security....
Nitheesh's user avatar
1 vote
1 answer
286 views

wpf error provider is not refreshing

I have a CSLA object with two managed properties and a custom Attribute. The requirements is to have at least one property null. In other words: If Property A is set to something and property B ...
TheOne's user avatar
  • 157
0 votes
1 answer
167 views

CSLAs WCF usage when running XUnit tests in vs test explorer causes an Impersonation Exception

We're using XUnit 2.1.0 from NuGet with the relating runners, console and visualstudio as documented here under the "running tests with visual studio" heading and relating content. I'm also using ...
Skintkingle's user avatar
  • 1,579
0 votes
1 answer
245 views

wpf text box error provider not working

I have a very simple wpf form that contains a text box that binds to a CSLA business object(Version 4.5.7). I'm assigning the the property AText a String.Empty. The Error provider should gets ...
TheOne's user avatar
  • 157
0 votes
1 answer
923 views

CSLA: List item must be marked as a child object

I have two tables Survey and SurveyQuestion. I'm trying to save multiple questions to one Survey. I'm using @(Html.BeginCollectionItem("SurveyQuestions")){ }. When I click on Save, it says 'List ...
Ram's user avatar
  • 661
0 votes
0 answers
199 views

Json.net not reading back primary key

I'm using Newsoft JSON lib in a vb .net project and I found this error I can't solve. I use CLSA objects of type Formulario and add some to a list. When I serialize that list the Primary Keys value ...
Esselans's user avatar
  • 1,536
1 vote
2 answers
325 views

CSLA.NET Min/Max Count Rule for BusinessBindingListBase

The business layer in our application uses CSLA.NET. I've got business classes named Invoice and InvoiceItem (derived from a subclass of CSLA BusinessBase) and InvoiceItemList (derived from a subclass ...
M. Rashid's user avatar
  • 159
5 votes
3 answers
3k views

Is it possible to use .NET Remoting + TLS 1.2 (or 1.1)?

Recently our PCI DSS scan failed, and requires that we disable TLS 1.0 (and enable TLS 1.1 or 1.2). I found the instructions on how to do so on our Windows Server 2008 R2 box, but we have a legacy ...
NightOwl888's user avatar
0 votes
1 answer
792 views

Windows Service ConnectionString property has not been initialized?

I am attempting to use a windows service to run at midnight every day and then checks a SQL table to see if any dates of future transactions match today's date. It is then supposed to fetch those ...
mcloud313's user avatar
1 vote
1 answer
199 views

CSLA FilteredBindingList - Partial Matches

I am currently writing a .Net web application, making use of SortedBindingList and FilteredBindingList. One issue I have run into is that the FilteredBindingList is matching both partial matches and ...
Cuddles's user avatar
  • 51
-1 votes
1 answer
172 views

Looking for T4 CSLA Code Generator

I am looking for T4 Code Generator for CSLA. It must work with VS2012. There is one version on CodePlex which I am using for 2010 but the 2012 version is not working. Thanks
Peter White's user avatar
3 votes
1 answer
2k views

Setting ItemSource in DataGridComboBoxColumn Using Separate Database Table

My first StackExchange question, so tell me if I do anything wrong. I'm converting old winforms code to WPF, and am leaning them both along the way. I've been successful most of the time, but I'm ...
MichaelN's user avatar
  • 156
2 votes
1 answer
573 views

CSLA How to create Info Classes with child-parent relationships

I'm new to CSLA, so I'm trying to figure out how to solve the following problem.I want to write 4 info classes, like these on the following diagram. They are all info classes, DayRecordInfoCollection ...
Hank Mooody's user avatar
0 votes
1 answer
741 views

CSLA How to validate StartDate and FinishDate?

I'm new to CSLA , and I've started learning about validation.I have one simple form Form1 containing datagridview1 and in Column2 and Column3 StartDate and FinishDate are shown.My idea is to ...
Hank Mooody's user avatar
1 vote
1 answer
2k views

CSLA Implementing code for Save and Delete Buttons

I'm new to CSLA , so here is my question. I have simple windows form application with datagridview and 2 buttons, Save and Delete.I need a solution for implementing Save() method for Save button, and ...
Hank Mooody's user avatar
2 votes
0 answers
112 views

Kendo inline grid editing error when posting a Csla.Net child object

I have a Csla.Net parent + list of child model and in my grid I'm binding to a collection of child records of type BusinessBase. Using Kendo grid inline grid editing, the Update method fails during ...
richardb's user avatar
  • 943
0 votes
1 answer
148 views

CSLA/ReactiveUI serialization issue

I'm attempting to use CSLA (latest version) along with ReactiveUI/Reactive Extensions. When creating the WPF bindings using reactiveUI (Bind/OneWayBind) and using the ToProperty methods, it appears ...
James Bradt's user avatar
2 votes
1 answer
858 views

the entity or complex type 'x' cannot be constructed in a linq to entities query

Can anyone tell me what is wrong with the following code since I get this error in the subject when run: My concrete DAL: public class CustomerDal : ICustomerDal { public List<CustomerDto> ...
Peter Centellini's user avatar
0 votes
1 answer
146 views

RegisterProperty cache display name

I'm using the RegisterProperty from CSLA. I also have DisplayAttribute and DisplayNameAttribute on my properties attached to a resource. I notice that the .Name property of each of my RegisterProperty ...
the_lotus's user avatar
  • 12.7k

1
2 3 4 5