Welcome to the CodeSmith Community!

CodeSmith Community

A description has not yet been added to this group.
  • Blake Niemyjski

    How-to: Generating CSLA Business Objects from Views and Stored Procedures

    • 7 Comments
    We have been working on a major update to the Generator CSLA Templates to support Views and Stored Procedures as well as CSLA 4.3. The following document will show you how you can take advantage of generating against stored procedures and views by updating your existing templates. Please note that the latest CSLA templates require Generator 6.0.3! Updating the Entities template output The quickest way to add support for generating against a view or stored procedure is to update the entities template...
  • Blake Niemyjski

    CodeSmith Generator 6.0-Intellisense Improvements

    • 0 Comments
    We recently released CodeSmith Generator 6.0.2 , which featured many usability and performance improvements to the Property Window and Editor Intellisense . We focused on bug reports as well as usability issues that we came across in the Template Editor since the Generator 6.0 release. As stated in a previous blog post it was pretty difficult for us to improve the Template Editor Intellisense in previous versions of Generator. As such, we took great steps to ensure that updates in the current version...
  • Blake Niemyjski

    CodeSmith Generator 6.0-Error Window Improvements

    • 0 Comments
    We have received lots of feedback on CodeSmith Generator 6.0 , and we would love if everyone continued to provide feedback. We use the feedback you provide to determine the areas we spend resources on. One of the key areas that we worked on since the first beta of CodeSmith Generator 6.0 was on improving the error reporting experience. We found a few pain points along the way and have made improvements that left us with a great experience. The first behavior that we noticed is that any errors that...
  • Blake Niemyjski

    Presenting Having fun with Data Access Layer Optimization tonight at the IADNUG

    • 0 Comments
    Tonight I will be presenting at the Iowa .NET user group on Data Access Layer Optimization with PLINQO. We will cover how you can use advanced concepts like Batching, Caching, as well as query optimization, through the use of profiling, to ensure your application is running smoothly. Where: Foundry Coworking Space http://foundrycoworking.com 1312 Locust #204 Des Moines, IA 50309 (515) 321-9073 Agenda: 5:45 PM - 6:15 PM: Free Pizza & Soda / Announcements 6:15 PM - 7:45 PM: Presentation 7:45 PM...
  • Blake Niemyjski

    Announcing The CodeSmith Generator 6.0 Visual Studio Template Editor

    We are very excited to announce that CodeSmith Generator 6.0 will feature a built-in Visual Studio CodeSmith Generator Template Editor on top of our existing Visual Studio Integration . The team has been hard at work integrating a new Template Editor...
  • Blake Niemyjski

    Extending the CodeSmith Generator PLINQO templates

    • 0 Comments
    The following guide will walk you through the basics on how-to extend the CodeSmith Generator PLINQO Templates to fit your custom development needs. In this example we will create a new Webpage for each entity that we generate. This page will contain a LinqDataSource control and an ASP.NET GridView control that will display data from a corresponding entity that we generated. I always recommend that you use the PLINQO API when writing templates that interact with code generated by PLINQO as this ensures...
  • Blake Niemyjski

    How-to: Create a new Oracle User

    • 2 Comments
    Every now and then I need to create a new Oracle user to test the CodeSmith Generator OracleSchemaProvider. I wanted to outline the steps that I use to create a new user as well as change the password of an existing user. The first step one needs to take is to create a new user but you may not remember your login information if it has been a while. At this point I always open up SQL Plus from the start menu and enter in the following user name when prompted. / as sysdba This allows you to connect...
  • Blake Niemyjski

    Wanted: Entity Framework Suggestions

    • 25 Comments
    We have all been waiting for this day to come, and now it is finally here: Entity Framework has finally matured, and it is time to create some CodeSmith Generator templates for EF! We are excited to finally begin this project and we simple can not wait to get started, but first we need your help. What do you want to see in Entity Framework templates? We have a ton of ideas of what we want to do with Entity Framework. Mostly we would like to do we did to Linq-to-SQL with PLINQO; enhanced regeneration...
  • Blake Niemyjski

    How-to:CodeSmith Generator SDK Integration Instructions

    • 0 Comments
    Overview After reading this document you will know how-to download, install and use the CodeSmith SDK in your applications. Download After logging into your account at http://www.codesmithtools.com click on the download button located near the top of the page. You will be presented with the CodeSmith Generator product downloads that are associated with your account. You can use any downloadable version but it is recommended that you download CodeSmith Generator Professional as the SDK License also...
  • Blake Niemyjski

    How-to: Creating your first CodeSmith Generator template

    • 0 Comments
    Introduction CodeSmith Generator is a template based code generator for any ASCII language. It uses a syntax very similar to ASP.NET. This tutorial describes the process of building a template to generate SELECT/INSERT/UPDATE/DELETE stored procedures. Getting Started All templates must include a CodeTemplate directive like this one. <%@ CodeTemplate Language="C#" TargetLanguage="T-SQL" Description="Generates SELECT/INSERT/UPDATE/DELETE stored procedures." %> Here...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    Updated CSLA QuickStart Video

    • 4 Comments
    We have released an updated CSLA Quickstart video which can be found here . This video focuses on the changes to the recently released CSLA v2.0 templates. We will be releasing more CSLA videos soon.
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    How-to: Use SQL CLR Functions and Functions in your CodeSmith templates.

    Updated documentation on SQL Functions can be found here . 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...
  • Blake Niemyjski

    How-to: CodeSmith and SQL Functions.

    Updated documentation on SQL Functions can be found here . 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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
  • Blake Niemyjski

    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...
Page 1 of 2 (42 items) 12