Hi.
I am using CSLA.NET. It works realy nice with the wsHttpBinding. Now, I have my own Windows-Service and search the solution, that I can use this Windows-Service as the CSLA-Server and using nettcpbinding. Can someone give me a tip how to going on? Perhaps someone has a sample how I can do that.
Thank you!
Best Regards, Thomas
...
What are new features in CSLA 4.0 over CSLA 3.8 and which one better ?
...
This is a weird problem. I am trying to build a .NET 3.5 solution with msbuild. I generally write custom build scripts for this, and when I tried this time to build a simple .NET assembly which internally uses CSLA, it started giving me Linq errors.
However, if I build the proj file via msbuild (command line), it seems to build just fi...
I am new to CSLA and Entity Framework. I am creating a new CSLA / Silverlight application that will replace a 12 year old Win32 C++ system. The old system uses a custom DCOM business object library and uses ODBC to get to SQL Server. The new system will not immediately replace the old system -- they must coexist against the same database...
I've converted a Visual Studio 2005 Website Project into a Web Application Project by creating a new web app project then copying in all the files and using the 'Convert to Web Application' option. I've added all the same references from the Website project to the web app project. After that I'm down to 1 error in the compiler and it's d...
First of all, this is my first Stack Overflow question so apologies in advance if I get this wrong!
I'm working on creating a service endpoint for a CRM database used internally. Several applications want to read and write to this database so exposing a WCF service seemed like the best approach.
I started off using the Entity Framework...
The property looks like this:
private static PropertyInfo<bool> FooProperty=
RegisterProperty<bool>(c => c.Foo, "Foo Friendly Name");
public bool Foo
{
get { return GetProperty(FooProperty); }
private set { SetProperty(FooProperty, value); }
}
I would like to recieve "Foo Friendly Name" from outside the class.
...
So here is the code:
interface A<T>
{
T Save();
}
interface B : A<B>
{
}
class BusinessBase<T>
{
T Save();
}
class D<T, U> : BusinessBase<T>
where T : BusinessBase<T>
where U : B<U>
{
new U Save()
{
base.Save(); // this is where the error is because T can't be converted to U
}
}
class Concrete : D...
So hopefully with some CSLA skills out there can help me see a better way with this one. I have a situation where I want to manually create my transaction from outside the object and set my transactionAttribute to manual.
So I have some code that looks like this:
using (SqlConnection conn ConnectionManager<SqlConnection>.GetManager("Db...
I am trying to switch from LINQ2SQL to EF ... I am getting the following error with some code that originally worked with LINQ2SQL and seems to compile correctly:
Csla.DataPortalException:
DataPortal.Fetch failed (LINQ to
Entities does not recognize the method
'MyApp.Logic.UserInfo
FetchUserInfo(MyApp.Data.User)'
method, a...
Hi all,
I have next problem. We have a huge client-server system and use CSLA to operate with DB data. There are a set of WinForms-based clients and one WCF-based AppServer. We have custom logging subsystem and settings for this subsystem are stored in DB. So on initialization of each side of our system (client application or applicatio...
Need to implement custom business/authorization rules for the product that is based on the well-known CSLA framework.
Examples:
The logged-in principal or admin can
update her details, not anyone else.
The last user in the system can't be
deleted.
Currently I know that rules can be applied during setup phase:
BusinessRules.AddRule...
What will be a good start point for learning CSLA framework.
...
Hi Everyone,
I am looking for some literature on CSLA.NET, does anyone have any direct links to/for this framework?
If someone also has time would you mind providing insight into this platform.
Thank you
...
Hi,
I am looking at the Lhotka CSLA.NET object library (Lhotka.NET). It seems interesting, but one thing which does not make sense is that the business rules are written in C#. Should these not be coded outside of code (even though it would be a library which is not coupled to the main logic of an app the rules can still change and requ...
My one ASP.NET web site uses two different business object class libraries. There is a common framework DLL (CSLA.dll) between these two libraries. The problem is that one library wants to upgrade to CSLA v.4.0.1 and the other wants to remain at v.2.1.4.
How do I solve this conflict at the web site? I think I need to install both versio...
According to this article you are suppose to be able to do includes using a lambda expression http://romiller.com/2010/07/14/ef-ctp4-tips-tricks-include-with-lambda/.
For example ...
var blogsWithPosts = context.Blogs.Include(b => b.Posts);
So where I have ...
IQueryable<Data.Patient> query = ctx.ObjectContext.Patients
...