Using T4 Templates for Simple DTOs

Posted by: K. Scott Allen, on 28 Oct 2009 | View original | Bookmarked: 0 time(s)

Im looking at 5-7 files of data in CSV format. The columns and format can change every 3 to 6 months. What I wanted was a strongly type wrapper / data transfer object for all the CSV file formats I had to work with, and I thought this would be a good opportunity to try a T4 template. If you havent heard of T4 templates before, then it is a technology that is worth your time to investigate. Hanselman has a pile of links in his post T4 (Text Template Transformation Toolkit) Code Generation Best...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Data | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1888 | Hits: 123

Similar Posts

  • Adding Syntactic Sugar to the Spark View Engine more
  • Validation - Part 3 - Server-Side more
  • Silverlight and WPF future, the death of ASP.NET? more
  • Code generation with T4, Entities to DTOs example more
  • Script for Bulk Import of Active Directory Site Links more
  • Don't Turn Your Resume into a Dumpster more
  • Service Bus in Azure more
  • Simple Expander Silverlight Toolkit more
  • TreeView in a ComboBox dropdown using RadControls for Silverlight more
  • In Love With Complexity more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD