New CSLAcontrib project - CSLA 2.0 Templates for Visual Studio 2005

New CSLAcontrib project - CSLA 2.0 Templates for Visual Studio 2005

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


mobile5guy posted on Wednesday, November 15, 2006

I've added a new project to CSLAcontrib for the CSLA 2.0 Visual Studio 2005 Item Templates. For an overview of this project, see http://www.codeplex.com/CslaVSTemplates

This initial release is for C# 2.0, and I will attempt to port these to VB 2.0 once I get the C# version out of beta.

BBM replied on Wednesday, November 15, 2006

Hi mobile5guy.

Are you porting the templates that come with the CSLA download or are you writing your own?

I've used the ones that come with the download, and while they're certainly much better than starting from scratch they're not always complete.

I know - now your going to ask me HOW they're not complete, and I don't think I can answer that.  I just remember coming across things I had to add to my production classes that made me think "why wasn't that in the template?

Since I know you're working on this now, I'll be in touch if I run across any more of these situations.

Thanks for taking this up.

BBM

mobile5guy replied on Wednesday, November 15, 2006

I am going to do a hybrid of the two. The templates I am working on are actually visual studio ItemTemplates. For example, when you add a new BusinessBase class, I capture the file name, and create the class with that name, just like adding a normal Class within visual studio.

example code:
public class $safeitemrootname$ : BusinessBase<$safeitemrootname$>

david.wendelken replied on Wednesday, November 15, 2006

Thanks for doing this!  Much needed!

Two quick items:

Copyright (c) Marimer LLC