Using CSLA .NET 3.0 ebook available (and CSLA .NET 3.0.2)

Using CSLA .NET 3.0 ebook available (and CSLA .NET 3.0.2)

Old forum URL: forums.lhotka.net/forums/t/3615.aspx


RockfordLhotka posted on Friday, September 28, 2007

CSLA .NET version 3.0 adds support for Microsoft .NET 3.0 features. This ~120 page ebook covers how to use these new capabilities:

Version 3.0 is an additive update, meaning that you only need to use the .NET 3.0 features if you are using .NET 3.0. CSLA .NET 3.0 is useful for people using .NET 2.0!! These features include:

CSLA .NET 3.0 includes numerous bug fixes and some feature enhancements that benefit everyone. If you are using version 2.0 or 2.1, you should consider upgrading to 3.0 to gain these benefits, even if you aren't using .NET 3.0.

See the change logs for version 3.0, version 3.0.1 and version 3.0.2 for a more detailed list of changes.

Using CSLA .NET 3.0 is completely focused on how to use the new features in version 3.0. The book does not detail the internal changes to CSLA .NET itself, so all ~120 pages help you use the enhancements added since version 2.1.

Get the book at store.lhotka.net.
(C# available now, VB available in early October)

Download the 3.0.2 code from the CSLA .NET download page.

tiago replied on Sunday, September 30, 2007

I'm using CSLA .NET 3.0.2 with Microsoft .NET 2.0.

PTracker 2.1.4 works fine.

BTW there is a small problem in C# version of PTracker 2.1.4. In ResourceEdit.cs the order of the columns in Assigned Projects changed. So the part that reads

// enable/disable role column in grid
this.AssignmentsDataGridView.Columns[3].ReadOnly = !canEdit;

should read

// enable/disable role column in grid
this.AssignmentsDataGridView.Columns[0].ReadOnly = !canEdit;

RockfordLhotka replied on Sunday, September 30, 2007

I don’t think so. The Role column is column 3 (the id column is 0 and it is hidden), and it is the role column the code is disabling.

 

Rocky

 

 

From: tiago [mailto:cslanet@lhotka.net]
Sent: Sunday, September 30, 2007 6:32 AM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] Using CSLA .NET 3.0 ebook available (and CSLA .NET 3.0.2)

 

I'm using CSLA .NET 3.0.2 with Microsoft .NET 2.0.

PTracker 2.1.4 works fine.

BTW there is a small problem in C# version of PTracker 2.1.4. In ResourceEdit.cs the order of the columns in Assigned Projects changed. So the part that reads

// enable/disable role column in grid
this.AssignmentsDataGridView.Columns[3].ReadOnly = !canEdit;

should read

// enable/disable role column in grid
this.AssignmentsDataGridView.Columns[0].ReadOnly = !canEdit;



tiago replied on Sunday, September 30, 2007

RockfordLhotka:

I don’t think so. The Role column is column 3 (the id column is 0 and it is hidden), and it is the role column the code is disabling.

 

Rocky

You are right as Role is indeed column 3. I must have messed things up when I was localizing PTracker.

But the ID (column 0) is hidden only if there are no Assigned Projects. If there are Assigned Projects, it is hidden until this line

this.ResourceBindingSource.DataSource = _resource;

After that it becomes visible.

The same behaviour can be seen at ProjectEdit.cs

RockfordLhotka replied on Sunday, September 30, 2007

Yeah, the fact that column 0 becomes “unhidden” has been a problem forever. Perhaps some ASP.NET expert knows a solution, but I’ve never been able to figure it out…

 

Rocky

 

 

From: tiago [mailto:cslanet@lhotka.net]
Sent: Sunday, September 30, 2007 11:35 AM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] RE: Using CSLA .NET 3.0 ebook available (and CSLA .NET 3.0.2)

 

RockfordLhotka:

I don’t think so. The Role column is column 3 (the id column is 0 and it is hidden), and it is the role column the code is disabling.

 

Rocky

You are right as Role is indeed column 3. I must have messed things up when I was localizing PTracker.

But the ID (column 0) is hidden only if there are no Assigned Projects. If there are Assigned Projects, it is hidden until this line

this.ResourceBindingSource.DataSource = _resource;

After that it becomes visible.

The same behaviour can be seen at ProjectEdit.cs



RockoWPB replied on Monday, October 01, 2007

Can't wait for the VB version. Also do I need to get the 2.1 handbook and the 3.0 handbook to get caught up with all the changes from book?

RockfordLhotka replied on Monday, October 01, 2007

The CSLA .NET Version 2.1 Handbook and Using CSLA .NET 3.0 are both purely additive. Which is to say that they both assume you’ve read what came before.

 

Rocky

 

 

From: RockoWPB [mailto:cslanet@lhotka.net]
Sent: Monday, October 01, 2007 9:10 AM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] Using CSLA .NET 3.0 ebook available (and CSLA .NET 3.0.2)

 

Can't wait for the VB version. Also do I need to get the 2.1 handbook and the 3.0 handbook to get caught up with all the changes from book?

Copyright (c) Marimer LLC