CodeSmith News
Blog RSS FeedNested Sets CodeSmith Templates project
A set of Codesmith tempalates to create the data base structure, stored procedures and Data Access Layer for the implementation Celko's Nested Set structure to map trees in SQL...(read more)
Defining custom regions in TypeScript files and preserving their content during CodeSmith template based code generation
I am looking to do some TypeScript code generation with CodeSmith and I’d like to use PreserveMerge merging strategy (preserve merge preserves your custom code within generated code between regenerations). CodeSmith’s merging mechanism is powerful and flexible (besides preserve it supports insert merge strategy as well. But if you feel constrained then feel free to create your own merging strategy ). Out of the box it supports C#, VB.NET, XML and T-SQL start region and end region notation. This...(read more)
Making JSON data strong typed with TypeScript and CodeSmith
The situation Imagine a scenario where you have a JSON service that returns data and you'd like to have it strongly typed on javascript powered client side. Let's say there is an ASP.NET MVC application that goes by the name MvcApplication33 (yes, the 33rd in a row of test applications) . There are two models in there in two files under Models folder: namespace MvcApplication33.Models { public class Customer { public string Name { get; set; } public string Surname { get; set; } public int...(read more)
CodeSmith Generator 6.5: New DB2 SchemaProvider
We are happy to announce Generator support for DB2 . With the help of David Logan we were able to add a new DB2 Schema Provider that ships with the latest version of Generator. You can now generate using the Schema Explorer API and existing templates against DB2. This is a huge win for all DB2 developers! Please let us know what you think! Please let us know if you have any feedback or questions about CodeSmith Generator. Download Now...(read more)
CodeSmith Generator Upcoming Feature: Bracket Highlighting
Today I'm happy to announce an upcoming feature for one of the most customer requested template editor features: Bracket Highlighting! Bracket Highlighting Bracket Highlighting creates visible highlights around sets of delimiters (parentheses, square brackets, and curly braces) when the caret is next to them. In the screenshot above, the caret is next to a } character which the C# language implementation recognizes as a bracket that should receive highlighting. Thus its background is highlighted...(read more)
CodeSmith Generator 6.5.3
New Features Improved XmlProperty Intellisense. Added the ability for the Server edition to consume the Generator API. Bug Fixes Fixed a bug where a NullReferenceException could be thrown when the XmlProperty Schema attribute value was empty. Download Now...(read more)
CodeSmith Generator 6.5.2
New Features Added beta support for Visual Studio 2012 themes. Bug Fixes Fixed a bug where the Template Editor font size would be displayed incorrectly inside of Visual Studio 2012. Fixed a bug where the Visual Studio 2012 snippets were not being detected by the Template Editor. Fixed a bug where the Returned ComplileTemplateResult.IsFromCache could return an incorrect value. Fixed a bug where the the Base Sample Directory could be set to an incorrect value. Fixed a bug where templates template...(read more)
CodeSmith Generator 6.5.1
New Features Increased support for Visual Studio 2012. Added DB2 zOS Schema Provider (contrib David Logan and Blake Niemyjski). Added the ability to change a templates template code's background color. Added the ability the ability to disable or enable current line highlighting. Added a new whitespace collapsing rule to collapse the last line terminator node if there is only collapsible nodes after it. Bug Fixes Fixed a bug where a run-time exception would occur when opening Generator Studio or...(read more)
CodeSmith Generator 6.0.5
Bug Fixes Fixed a bug where assemblies were not being resolved correctly when Visual Studio 2012 / .NET 4.5 was installed. Download Please contact support for access to CodeSmith Generator 6.0.5....(read more)
CodeSmith Insight 1.5.0
Improvements Updated all client builds. Please update your clients to the latest version. Added support for ReplyTo emails. Added Version custom field type. Added support for searching by major or minor version custom field type values (E.G., version:6.5 or version:6). Added support for CaseDocument to have lists of numeric types. Various improvements for importing cases from Imap and Pop3. Updated services and clients to handle various SSL scenarios. Bug Fixes Fixed a bug where clients could th...(read more)
Announcing support for ASP.NET WebAPI and KendoUI
We are delighted to announce that we’ve added support for ASP.NET WebAPI and Kendo UI to the PLINQO for Entity Framework templates ! In the article below we will talk about the templates and show off the new features. Please note that while we are still working on these features, we would love for you to download the templates and give us your feedback. Also note that you will need to download and install MVC4 and NuGet before continuing. Getting Started Please note that the templates require...(read more)
NuGet support for the Template Frameworks
If you haven't heard about NuGet yet, you may be living under a rock! NuGet, is a package manager that gives you quick access to add or update external dependencies. We love making our products that save you as much time as possible, which is why we thought NuGet would be a perfect fit. Please follow the guide below on how to use our CSLA templates via NuGet! We have also updated all of our CSLA documentation to reflect using NuGet and much more. Getting Started Install the CodeSmith.Generator...(read more)
CodeSmith Generator 6.5: Schema Providers
We recently released CodeSmith Generator 6.5.0 , which includes many new features and improvements. One of the areas that we focused on was our existing Schema Providers. Based on customer feedback, we added two new Schema Providers (VistaDB 4.x and SQL Compact 4) to Generator 6.5. We've kept the previous schema providers for backwards compatibility, so if you are using SQL Compacts 3.5 or VistaDB 3.x we haven't forgot about you! On top of adding two new Schema Providers, we spent time updating...(read more)
CodeSmith Generator 6.5: Template Explorer Improvements
We recently released CodeSmith Generator 6.5.0 , which includes many new features and improvements. We've made a few tweaks to the Template Explorer to increase your productivity while improving usability. We found and fixed various behavioral bugs in Template Explorer that caused documents to be opened behind or on top of the current application. We also made it much quicker to add a template shortcut by using the Windows Vista / 7 native folder browser control. This gives you the ability to...(read more)
CodeSmith Generator 6.5: Schema Explorer Improvements
We recently released CodeSmith Generator 6.5.0 , which includes many new features and improvements. One of the larger areas that received a major face lift was Schema Explorer. Schema Explorer now provides you with improved contextual icons for various schema objects like: composite keys, computed columns, parameter direction, and more. We are always looking for ways to improve the Schema Explorer, so please send us your comments. Downloading CodeSmith Generator 6.5 CodeSmith Generator 6.5 is a...(read more)
CodeSmith Generator 6.5: Template Editor Improvements
We recently released CodeSmith Generator 6.5.0 , which includes many new features and improvements. One of the areas that we focused heavily on was the Template Editor. We did a lot of work to ensure that the Template Editor experience is consistent in both Generator Studio and Visual Studio Integration. As such, all of the following features and improvements can be found in both IDE's. The following document will cover some of the features that were added to the Template Editor in Generator...(read more)
CSLA 4.0
Improvements Added support for Generator 6.5 (The CSLA 4.0 Templates require Generator 6.5) . Added support for generating from Stored Procedures and Views . Added support for CSLA 4.3.10. Updated the templates to use the latest version of SchemaHelper (many improvements to association detection, naming conventions and much more). Added various List Business Object enhancements. The generated list Business Objects now contain the following methods Get, GetByCriteria, Remove, Contains and Contain...(read more)
PLINQO for LINQ to SQL 5.1
Improvements Added support for Generator 6.x. Add MemCached Provider to PLINQO. Added IncludeManyToMany option. Updated Entities to support Nullable Composite Key assignment. Updated RuleManager and added Remove method. Added additional ClearCache methods. Updated interfaces for many associations to be IEnumerable instead of IList, this allows for comparability with .NET 3.5 Various Performance Improvements when generating. Database columns that have the type of Geography and geometry will now b...(read more)
PLINQO for Entity Framework 1.2
Improvements Updated the templates to use the latest version of SchemaHelper (many improvements to association detection, naming conventions and much more). Added support for Generator 6.x. Updated the QuickStart. Fixed a bug with Query Extensions not generating GetBy's. Fixed a bug with the IsIgnoreType method in the QueryExtension.Generated.cst template. Fixed a bug where self referencing associations were not being created properly. Various Performance Improvements Download Now...(read more)
PLINQO for NHibernate 1.2
Improvements Updated the templates to use the latest version of SchemaHelper (many improvements to association detection, naming conventions and much more). Updated the QuickStart to support Visual Studio 2010 and MVC 3. Added support for CodeSmith Generator 6.x. Fixed a bug where duplicate properties could be added to an entity. Fixed a bug with the DataContext.Generated.cst where it would throw a sequence exception. Fixed a bug where multiple stored procedure parameters would not work correctl...(read more)
Online Store