Sign in
Sign in
Using:
Name/Password
|
OpenID
|
Join
About
Forums
Media
Blogs
Home
Blake Niemyjski
»
All Tags
»
CodeSmith
(
RSS
)
Blake Niemyjski
Home
Syndication
RSS for Posts
Atom
RSS for Comments
Recent Posts
How-to: Rename your generated CSLA property names
How-to: Using a Stored Procedure extended property to preserve custom logic in the CSLA generated code.
How-to: Using the CSLA partial methods to preserve custom code and promote active regeneration.
Breaking CSLA 4.0 property changes when using private backing fields.
How-to: Preserve column names in generated PLINQO entities.
Tags
.Net
Ajax
ASP.Net
Atlas
C#
C++
CodeSmith
Community Server
CSLA
how-to
IE7
Internship
Java
Office 2007
Silverlight
SQL Server 2005
SQL Server 2008
Tips & Tricks
User Interfaces
VB.Net
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Windows Vista
WPF
View more
Archives
August 2010 (2)
July 2010 (6)
April 2010 (2)
January 2010 (2)
December 2009 (1)
October 2009 (2)
July 2009 (1)
June 2009 (1)
May 2009 (9)
April 2009 (1)
November 2008 (2)
October 2008 (2)
September 2008 (8)
August 2008 (3)
July 2008 (3)
June 2008 (1)
April 2008 (3)
February 2008 (9)
January 2008 (5)
December 2007 (3)
November 2007 (3)
October 2007 (5)
September 2007 (5)
August 2007 (14)
July 2007 (24)
June 2007 (24)
May 2007 (11)
April 2007 (1)
March 2007 (4)
February 2007 (5)
December 2006 (7)
November 2006 (8)
October 2006 (4)
September 2006 (6)
August 2006 (12)
July 2006 (3)
Browse by Tags
.Net
.netTiers
C#
CLR
CSLA
how-to
Internship
LINQ-To-SQL
Oracle
PLINQO
SQL Server 2005
SQL Server 2008
Tips & Tricks
Tips &
Tricks
User Interfaces
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Windows Installer
XML
How-to: Rename your generated CSLA property names
In the following example, I'll show you how to use the CodeSmith CSLA template's powerful renaming options. Many of you might have a legacy database with those ugly prefixes, or things you wish you could refactor but just can't. Luckily, you're...
Published
Tue, Aug 08 2010 2:03 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
how-to
,
CSLA
How-to: Using a Stored Procedure extended property to preserve custom logic in the CSLA generated code.
In the previous article on how to use the partial methods in the CodeSmith CSLA templates to preserve custom code mostly focused on the code side of things. For those of you who might be using Stored Procedures might be wondering... How do I accomplish...
Published
Fri, Jul 07 2010 4:20 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
how-to
,
CSLA
How-to: Using the CSLA partial methods to preserve custom code and promote active regeneration.
One of the best features of code generation is the reality of being able to actively generate you code while preserving custom changes. This allows you to implement custom logic while constantly making changes to your metadata and getting the latest template...
Published
Thu, Jul 07 2010 1:06 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
how-to
,
CSLA
Breaking CSLA 4.0 property changes when using private backing fields.
I came across this bug last night, which was occurring right as CSLA4 was released . It had to deal with the CodeSmith CSLA templates when you set UseMemberVariables to true. The error is quite obscure and not very intuitive as the signs of a bug are...
Published
Wed, Jul 07 2010 1:01 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
CSLA
How-to: Preserve column names in generated PLINQO entities.
There may come a time where you need to rename a column in your generated entity for whatever reason. The following tip and trick article will show you how to quickly accomplish this. Let's assume you have a generated property for the column AccountId...
Published
Tue, Jul 07 2010 9:39 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
how-to
,
PLINQO
,
LINQ-To-SQL
Upgrading from CSLA 3.8.4 to CSLA 4.0 using the CodeSmith CSLA templates version 3.0.0.
We recently released a new major version of the CSLA templates that add support for many new features including Visual Studio 2010, CSLA 4.0 and Silverlight 4.0 support. They can be downloaded here . When upgrading to the templates and you are going from...
Published
Mon, Jul 07 2010 3:28 AM
by
Blake Niemyjski
Filed under:
CodeSmith
CodeSmith supports Visual Studio 2010 RTM!
We have been working with Microsoft over the past few months to ensure that CodeSmith works with Visual Studio 2010. The currently released version of CodeSmith 5.2.1 already supports Visual Studio 2010 Integration. Although the current support is titled...
Published
Mon, Apr 04 2010 7:59 AM
by
Blake Niemyjski
Filed under:
.Net
,
CodeSmith
,
Visual Studio 2010
Unit testing the CodeSmith CSLA Templates
During the development of our CodeSmith CSLA templates we have spent a lot time unit testing the generated code to ensure everything was working correctly. In the future we would like to generate basic CRUD unit tests for any project. We decided to unit...
Published
Thu, Apr 04 2010 10:09 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
CSLA
How-to: Upgrade your PLINQO or CSLA templates
This article will help you upgrade your solutions templates safely and easily to the latest major or minor version. The latest templates can be found on our Google code project and the latest nightly build can be found here . The first thing to do is...
Published
Tue, Jan 01 2010 2:35 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
how-to
,
CSLA
,
PLINQO
How-to: Use SQL CLR Functions and Functions in your CodeSmith templates.
In a previous post I had mentioned that we added SQL CLR Stored procedures as well as SQL Functions in the release of CodeSmith 5.2. Since then there has been a few questions since then on how to add this to your existing templates. The great news is...
Published
Mon, Jan 01 2010 9:44 PM
by
Blake Niemyjski
Filed under:
CodeSmith
,
how-to
,
Tips & Tricks
How-to: CodeSmith and SQL Functions.
CodeSmith now supports SQL Functions and SQL CLR Functions with the release of CodeSmith 5.2. I will quickly show you how to add SQL Function support to your template. The first thing you need to do in order to use SQL Functions is to set the IncludeFunctions...
Published
Sun, Dec 12 2009 9:51 PM
by
Blake Niemyjski
Filed under:
.Net
,
SQL Server 2005
,
CodeSmith
,
SQL Server 2008
,
how-to
,
CLR
How-to: Build a custom UITypeEditor
Recently I built a CodeSmith sample UITypeEditor that allows a user to enter in custom data into a DropDownList. In the following article I’ll show you what you need to do in order to build your own UITypeEditor. First you need to create a public...
Published
Tue, Oct 10 2009 12:00 AM
by
Blake Niemyjski
Filed under:
C#
,
.Net
,
User Interfaces
,
CodeSmith
It's the littlest of things that we do, that make CodeSmith shine.
During each release of CodeSmith, one thing we always do is test upgrade scenarios between each versions and check for backwards compatibility among other tests. Recently, I was amazed at how much change has taken place between CodeSmith 4.x and the latest...
Published
Mon, Oct 10 2009 7:25 AM
by
Blake Niemyjski
Filed under:
.Net
,
User Interfaces
,
CodeSmith
CodeSmith CSLA Templates v1.0 released!
Over a week ago we released our new CSLA Templates. I highly recommend everyone that uses CSLA to try them out as they will save you a ton of time. Also you'll notice very quickly that it follows the CSLA best practices and has other features that...
Published
Wed, Jul 07 2009 5:40 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
CSLA
Tips & Tricks: Debugging CodeSmith on Microsoft Windows 7
We have updated the Tips & Tricks: Debugging CodeSmith with the changes needed to debug on Windows7. Here is the quick overview of what you need to-do to enable debugging on a Microsoft Windows 7 machine: Update the Just-In-Time debugger setting DbgJITDebugLaunchSetting...
Published
Wed, Jun 06 2009 3:46 AM
by
Blake Niemyjski
Filed under:
CodeSmith
,
Tips & Tricks
1
2
Next >
windowscoding.com;
Copyright © 2008 Windows Coding
Contact Us
|
Terms of Use
|
Privacy Statement
Microsoft and Microsoft logo's are trademarks of Microsoft Corporation.