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

Continuous Integration Tool Used

We're looking at continuous integration tools for our in-house .NET and ASP.NET applications. In addition to the code, we also would like to update both schema and configuration data in our SQL Server...

View Article


Issue with [Csla.Reflection.MethodCaller.GetParameterTypes(object[]...

Hi everybody.I'm invoking public factory methods using Csla Reflection, and came across a particular case wherepublic static object CallFactoryMethod(Type objectType, string method, params object[]...

View Article


CLSA Impersonation different user

Hi Guys, I am new to this forum and also CSLA.NET. I was wondering if there is a way in CSLA to impersonate a different user when making SQL calls. I want all my sql statements to be executed under a...

View Article

Windows Authentication in Silverlight application

Context : NET 4.5 / SL 5 / Csla: 4.5.601.0 / IIS: 7.5 / OS: Win7Hi everyone,I am currently experiencing a problem getting windows authentication working correctly with the Silverlight application demo....

View Article

UNIT Testing in CSLA using MOCK Object

i want to create unit test project using MSTest that use Mock object.and also using dataportal.could you please assets me. and give us simple example how can i do it.

View Article


Csla 4.5.601 is missing a NuGet dependency for framework 4.0

Hi Rocky,Updating to Csla .NET 4.5.601 some .NET 4.0 projects under VS2010, I got plenty of errors and I could understand why. I migrated one of these projects to VS2012 and got the following...

View Article

Slow response when i restore other field in set property

Hello, I'm using CSLA 3.6 and I have some business rules in my business base object that claim to clean some fields when I change a property. These fields have business rules related with them so, when...

View Article

Authorization rule & object state

I often find that there's a need to do authorization not just based on the user's roles (permissions), but also based on some state in the object itself.  A common scenario is only the creator of a...

View Article


Inheritance security rules violated while overriding member:

I receive this error when I deploy to a shared hosting server at godaddy. I do not get this error on localhost or deployed to development server. Any ideas? Inheritance security rules violated while...

View Article


How to use WCF Across Domains

I have a thick client application that has users that are in a different windows domain than my data portal server.  Whenever they try to connect to the server from a different domain, I get this...

View Article

CSLA Discussion

Hello...I have written a BO class viz. PersonEdit. It has PersonAddresses & PersonPhones as child properties.Each address or phone may have tags such as Home,Office,School.The following...

View Article

Async LocalProxy DeadLock

Hi,I'm having an issue when I'm using the Async dataPortal methods (FetchAsync(), etc...) at the same time as using a Local Server DataPortal public async Task Fetch(Type objectType, object criteria,...

View Article

Parent Child object

Can I have multiple child properties for a single BusinessBase object?

View Article


CslaGenFork 4.5.0 (stable) was release

It's my pleasure to announce CslaGenFork 4.5.0 was release today.Targets:CSLA 4.3.14 (NET 4.0, Silverlight 4 and Silverlight 5)CSLA 4.5.600 (NET 4.0, NET 4.5 and Silverlight 5)Data Portal...

View Article

Moving a business object from a list to a new list

Hi,I have a simple scenario, made it into a test so I can see it better, let me know if you need to code: 0: loadedUser.BeginEdit()1: Vendor vendor = loadedUser.AvailableVendors[0]2:...

View Article


Adding a chained rule using a property on another Business Object

I have a BO called Payment.When a Customer makes a payment, I need to require that Customer to have a BillingAddress set, if it is an account payment.However, I'm not sure how to do this in practice....

View Article

NuGet CSLA.NET Templates are not registered in VS2013

Hello,I have VS2012 and VS2013 installed. For the new CSLA project I installed nuget CSLA Templates version 4.5.601.In VS 2012 all is ok but in VS2013 I do not see any snippets and csla item templates...

View Article


Change of Modifer in CSLA4.5

Hi,I was trying to upgrade my application from CSLA 4.3.13 to CSLA 4.5, and the code didn't Compiled.Noticed thatpublic virtual T Save() of abstract class BusinessBase<T>is changed topublic T...

View Article

Error at Model.Save() in wpf application

Hello everyone..I have developed an application using csla.In viewmodel class,I have called Model.Save().But I'm getting the following error at Model.Save() in Wpf application.Error - The remote server...

View Article

why is it be error: "Not a legal OleAut" when importing Excel2007 into SQL...

I am be an error importing the Excel2007: "Not a legal OleAut date", you see my code below: public static void ImportToSql(string excelfilepath)        {            string ssqltable = "TABHD";...

View Article
Browsing all 764 articles
Browse latest View live