By tag: T4
0
kicks
ASP.NET MVC Localization: Generate resource files and localized views
ASP.NET MVC Localization: Generate resource files and localized views using custom templates
0
kicks
Entity Framework and T4: Generate Query Objects on the fly, part 1
Generate Query Objects on the fly for your Entity Framework entities using T4 templates. Don’t worry about LINQ, let the objects do all the work for you.
0
kicks
Entity Framework: Making changes to the T4 Templats
Taking a look at how Entity Framework uses T4 Templates (Text Template Transformation Toolkit) when building out the entity model.
We will first learn how EF is using the templates, we will then learn how to view and access these templates and finally we will take a look at how to modify these te...
0
kicks
Repository and Unit of Work T4 Template for Entity Framework
Two weeks ago I wrote the Revisiting the Repository and Unit of Work Patterns with Entity Framework post. One thing that I thought would be nice was to have an automatic code generation that will help me to build these patterns without sweating. So I sat down and created a T4 Template to auto genera...
0
kicks
Entity Framework T4 Enhancements Part 1, Generate an IDatabase
This post is part of a series on customizing the Entity Framework T4 templates
I have been using EF4 for a little while now, and have been taking advantage of the code-generation extensibility afforded to us by T4 templates. This series of posts will describe the enhancements I have made to the d...
0
kicks
Reading a Xml File in T4 Templates
After I wrote the post about the use of T4 templates in EF4, I played with them for a while (not in EF but generally with
T4 templates).
In an old project that I’ve created almost 3 years ago which automated the use of lookup tables I had an enum.
That enum was meant to be the connect...
0
kicks
T4CSS: A T4 Template for .Less CSS With Compression
Pain is often a great motivator for invention, unless you become dull to the pain. I think CSS is one of those cases where there’s a lot of pain that we as web developers often take in stride. Fortunately not everyone accepts that pain and efforts such as LESS are born. As the home page states Howev...
0
kicks
T4 Toolbox Offers Alternate LINQ to SQL Class Generator: Explained
If you aren’t up with the know, T4 Templates or the Text Template Transformation Toolkit is a Microsoft template-driven code generation toolkit baked right into Visual Studio 2008 (and available in Visual Studio 2005 as an additional download) which allows you to do some pretty cool stuff in the way...
0
kicks
Custom Templating Library
This article presents the Custom Templates Library. This library provides easy access to the text transformation features of T4 from within custom applications.
0
kicks
Template based code generation with T4 from custom applications.
Generate source code from custom applications by using the Text Template Transformation Toolkit of VS 2008.
0
kicks
How to modify the T4 templates used by Sharp Architecture
Taking a look at how you can modify the T4 templates which are used to change the default generation behavior of Sharp Architecture
0
kicks
T4 Templates: A Quick-Start Guide for ASP.NET MVC Developers
"As mentioned in our recent blog post on the ASP.NET MVC Release Candidate, our code-generation features (namely, Add Controller and Add View) now use the T4 (Text Template Transformation Toolkit) templating technology behind the scenes. Because users can customize the templates to a great ext...
0
kicks
Using T4 Command-Line Parameters - Generating NHibernate Magic Strings
Describes how to use T4 (TextTransform) command line parameters (in this case to generate the 'magic strings' used by NHibernate ICriteria queries).
0
kicks
T4 (Text Template Transformation Toolkit) Code Generation - Best Kept
Very handy stuff indeed
0
kicks
Creating complex code generators
This article is a part of a series that introduces code generation using C# and Text Templates (also known as T4 Templates) in Visual Studio; explains how to create reusable templates and combine them in complex code generators.