Welcome to the CodeSmith Community!

Blogs

CodeSmith Community

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

    CodeSmith templates for Xaf

    Yes I know that is not the best practice. When using Xaf or Xpo you should first design your objects and let the framework create the database schema based on objects metadata (attributes). But there are many cases that the database is already design and you can not change it.
  • External

    Escaping ASP.NET Tags in Code Smith Templates

    Code Smith uses the same syntax as ASP.NET to build code generating templates. So one thing I had to learn to overcome was dealing with tags in Code Smith, or escape ASP.NET tags in my Code Smith templates. The answer is to use a %% so it would look like . class = "ListTitle" > '.aspx?id={0}", Eval("Id")) %%>'> "" )%%>
  • External

    Use Code Smith to Speed Up Your Projects

    Many time while programming you will be coming across codes which you are doing again and again only with little changes. Example writing database codes, let get properties of business classes, making gui etc.How many times have you coded add,update,delete for customer master, supplier master, accounts master, journal master etc.In my experience these master and recurring coding templates consume almost 30% of your coding project time.These recurring codes with little changes to do again is not only tiresome...
  • External

    Generating Code with CodeSmith -- Visual Studio Magazine

    Visual Studio employs code generation to create the class files behind DataSets and Entity Framework models. Now CodeSmith Studio by CodeSmith Tools LLC lets you create your own code-generation solutions using a template-based approach. In a CodeSmith template you place static text for code that doesn't change from one instance to another, along with executable code-in the .NET language of your choice- that generates code based on inputs you provide. Creating a CodeSmith template is easy, and the tool includes...
  • 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.

    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...
  • Tom Dupont

    Advanced PLINQO Future Queries, Part 1

    • 0 Comments
    The immediate uses of PLINQO Future Queries are readily apparent: Do you have multiple queries that need to be executed back to back? Add future to the back of them and save yourself a few database trips. What might not be quite as easy to spot, are those...
  • Tom Dupont

    Advanced PLINQO Future Queries, Part 2

    • 0 Comments
    The immediate uses of PLINQO Future Queries are readily apparent: Do you have multiple queries that need to be executed back to back? Add future to the back of them and save yourself a few database trips. What might not be quite as easy to spot, are those...
  • Tom Dupont

    PLINQO @ Houston DNUG

    • 0 Comments
    The CodeSmith Tools (Shannon and Tom) are back on the road and delivering their first presentation of the new decade, in Houston! If you or any developers that you know will be in the Houston area on Thursday, March 11th, you should come see us and learn...
  • External

    Karim Ainsworth: Extending LINQ to SQL with PLINQO

    Enter PLINQO . PLINQO ( Professional LINQ to Objects ) is a set of CodeSmith templates that wrap and extend LINQ to SQL functionality. This has been a godsend for me, I have been using PLINQO for only a week now and it has already saved ... Karim Ainsworth...
Page 39 of 42 (414 items) «3738394041»