Welcome to the CodeSmith Community!

Blogs

CodeSmith Community

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

    ADO.NET EF, CodeSmith and building a DAL

    I’m using Entity Framework pretty heavily these days and have come to like it. There are a few tricks to using it, but in general it get the job done. One of the tricks I’ve been developing with help from Robert Hinojosa is a CodeSmith template to add some extra functionality to our entity model. We started off just adding some validation stuff, but it is slowly growing. Adding IEditableObject The first problem is that I need to add some interfaces to all of the entities. The important interface is IEditableObject...
  • External

    Syntax Error Nullification and Coding Analytics Workgroup » Blog Archive » Top 5 Must-Have Tools Every Developer Should Download Now

    Top 5 Must-Have Tools Every Developer Should Download Now!
  • External

    james mckay dot net » On code generation

    Code generation done right can save masses of time. Code generation done wrong has the exact opposite effect. Here is what code generation done wrong looks like. I am asked to help out with your project, and told that it’s corrupting data. After a bit of rootling around, I find two hundred business service classes, each containing numerous very similar looking methods that all follow this pattern: view plain copy to clipboard print ? public bool SaveWidget(Widget widget) { try { dataSession.Save(widget); return...
  • External

    Shreveport .NET User Group - Code Generation

    September 2010 Meeting When: 9/21/2010 6:00 PM - 8:00 PM Speaker: Tom DuPont Speaker Bio: Tom DuPont lives in Dallas, Texas, where he is the Vice President of CodeSmith Tools, LLC. Tom is a .NET developer, specializing in C#, ASP.NET MVC, and JavaScript. Tom has a bachelor's degree in Computer Science and Software Engineering from the University of Texas at Dallas. In his spare time he enjoys long rides across the country on his motorcycle. Topic: Code Generation Location: CoHabitat - 610 Commerce St., Shreveport...
  • External

    rule the world: .netTiers

    Introducing .netTiers .netTiers is a set of open source code generation templates that simplify the tasks of creating customized Application Tiers for your Microsoft.Net applications in just a few minutes. .netTiers utilizes the power of the best code generation tool available today, CodeSmith . .netTiers generated architecture is custom to your domain, uses familiar patterns, and follows the guidance of Microsoft's recommended patterns and practices. In fact, the .netTiers base architecture is built upon...
  • External

    .nettiers with WinForms

    Problem: In webform, you easily use, edit connection string in web.config that already created by nettiers. In winform, you can meet an exception with message: “Unable to load NetTiersServiceSection” Solution: When generate nettier solution, choose to create UnitTest, and then copy all content of the *.config file from UnitTest and paste to your app.config file ( you must manually create app.config). All done! Add needed nettiers project reference to your Pj and enjoy!
  • External

    Linq to Sql + PLINQO = Linq to Sql++

    While this is quick and easy to use, there’s one limitation: over the course of a development project, it’s inevitable that your database will change. Using LtS, you either need to manually update the entity through the designer or delete and add back the entity, losing your customizations. With today’s tight project schedules, doing the same work over and over again is something you want to avoid. Suddenly it dawns on you that the savings you are achieving through code-generation doesn’t make up for customization...
  • External

    PLINQO a Better LINQ to SQL

    A few weeks ago I made a major course correction in our choice of ORM data layer. We had planned to use LLBLGen Pro but several issues with the code that it generates continued to bother me. First, it's support for stored procedures lacked the ability to strongly type the resultset. Second, the data entity classes do not easily support serialization over WCF with the option to dress them up with the appropriate attributes.
  • 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: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...
Page 40 of 48 (472 items) «3839404142»