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

Find All References to Dateportal_Update

Hi,Few questions around code navigation:Main Question: How can I find all references to dataportal update for a particular class which inherits from BusinessBase?My ideas so far Is dataportal_update...

View Article


Query regarding WCF endpoint contract in the client

In a number of the examples in the CSLA e-books (i.e. UsingCsla4-04-DataPortal.pdf page 44) and in the sample WindowsUI client on github...

View Article


Create RestPortal as alternative to WcfPortal

I am exploring the idea of creating a RestPortal based on WcfPortal to simplify creating a Web API for HTML + Angular client. WcfPortal has quite a simple API: Create, Delete, Update, Fetch, which...

View Article

MVVMexperiment wont build

HiI'm a bit new to this but I cannot get the sample project MVVMexperiment to build.Initially I get two erroes in ListPage.xamlDataListViewModel & DataViewModel do not exits in the clr-namespace...

View Article

Upgrading CSLA 2.x to 4.x

Hello. Several years ago, I inherited a web application that uses CSLA 2.1.0.22. Since then I have upgraded the application to 3.5 then to 4.0 with no issues. This whole time we kept CSLA at its...

View Article


Reauthorise user before saving / updating

I need to prompt user for there password before changing critical information on a form.I am use DevExpress ASP.NET Data view in model edit form mode.I added a Password property on my Business Object...

View Article

MVVMCross / CSLACross

Are there any code examples availalble that use CSLACross with CSLA and MVVMCross?  Is CSLACross even a finished product?https://github.com/MarimerLLC/CslaCrossThanks,-G  

View Article

Single Child Object MarkAsDeleted returns New Object

I've been reading on Child Object on this forum and I didn't see an exact match for my issue, here it isI have a 1:1 relationship object In Object1 I have thisprivate static readonly...

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


Authorization rule on Null value property

Again I may be doing something wrong but is it normal that an authorization rule on a property that is NULL does not work?   and I soon as you put something in the property it triggers?

View Article

AmbiguousMatchException - where to look?

I have a ton of working objects in a WinRT app and have followed the same pattern for all of them. But with a new one I've created, I get the following exception when executing an async Fetch method on...

View Article

Xamarin Studio Suport

Hi all,I am currently evaluating whether to use CSLA in my project.I'm also new to Xamarin. The plan is to develop for iOS and Android initially.I have successfully added the Android and iOS CSLA nuget...

View Article

Older CSLA with asp.net web api - authentication, what am I doing wrong?

Can anyone save some of my hair? :)I'm trying to create an asp.net WEB API interface for an older CSLA project.  I am testing by hard coding the login on every request in various ways (once in the...

View Article


CSLA Position with AngularJS

Hi all...recently, I still read about angularJS, and I interested with that approach ( for me it's like XAML on WEB ).currently I develop LOB app in SL and WPF. and for greater reach then I intend to...

View Article

CSLA 4.2.2 to 4.5.x

I am implementing the upgrade and after a namespace fix, I am running into the following: I have a DataPortal_Fetch that looks like:Private Shadows Sub DataPortal_Fetch(ByVal criteria As ...)...Using...

View Article


ReadOnlyList fetch with lock

Hi,This morning I was upgrading CSLA 4.3 to 4.5 and when I ran our application, anything using a ReadOnlyList failed in the DataPortal_Fetch.  I finally found the answer in this thread:...

View Article

Using MSTest and the ObjectFactory

I am in the process of setting up Automated Tests using MSTest.  I would like to create a Mock DAL for the Test project.  The WPF app loads the DAL based on the appSettings tags in the App.Config file...

View Article


Why FieldData.Value always set IsDirty = true even when value is the same as...

Wouldn't be better if the Value property in FieldData only set the IsDirty flag to 'true' when the new value was different  from the old value?Cause the class uses generics, I've made the change as...

View Article

UpdateChildren correction

Please, correct me if I'm wrong, but FieldDataManager.UpdateChildren shouldn't be like this:        public void UpdateChildren(params object[] parameters)        {            if (_propertyList == null)...

View Article

Can't find code samples mentioned in the ebook UsingCSLA4 DataAccess

Hello,I am reading the CSLA ebook and in the DataAccess ebook (page 114) are mentioned objects as SkillEditList, SkillEdit and library Library.Net and solution EncapsulatedInvoke, EncapsulatedInvokeDto...

View Article
Browsing all 764 articles
Browse latest View live