[Profoundly Esoteric Image]

GarethJ's WebLog - OneNote API musings

Browse by Tags

Tagged Content List
  • Blog Post: What’s new in T4 for Visual Studio 2013?

    Visual Studio 2013 Preview has been out for a while now so I thought I should announce the new goodies in the product for T4 this time around. As the T4 engine is fairly mature now we focused on a couple of scenarios that have been blocked or tricky for customers. I’m sure you’ll agree they are good...
  • Blog Post: T4 Debugging – Under The Hood

    Hi - my name is Tim Malone and I'm a developer in Visual Studio, working on T4. I began my time at Microsoft in the summer of 2010 as in intern working on what would eventually become the new "Debug T4 Template" feature in Visual Studio 2012 (described here ). I'd like to expand a bit more...
  • Blog Post: What’s new with T4 in Visual Studio 2012 Release Candidate

    I’m a bit quicker off the mark than I was with our Beta as this is my first day back from vacation after our Release Candidate has launched .  We have one final significant T4 feature to add for Visual Studio 2012 in addition to all of the stuff from out beta and developer previews , and it’s a...
  • Blog Post: What’s new with T4 in Visual Studio 11 Beta?

    Our beta release has been available for a couple of weeks now, so I thought it was about time I updated folks on what’s new for T4 . Everything below is in addition to the features and changes I noted in my previous post, What’s new with T4 in the Developer Preview of Visual Studio 11? OK, here goes...
  • Blog Post: DevArt joins the T4 Template Editor Fray

      We’ve now got a third contender in the Visual Studio T4 Editor space.  The good folks over at DevArt have joined the race. From their press release: Devart today releases a new powerful Visual Studio add-in for editing T4 templates with syntax highlighting, intellisense, code outlining, and...
  • Blog Post: Pluralcast Podcast on T4

      A few weeks ago, I recorded a podcast about T4, and how it’s being used inside and outside Microsoft with the estimable David Starr , who I happened to meet up with at the recent MVP Summit . You can check it out in the PluralSight Pluralcast blog . Enjoy. http://www.pluralsight-training.net/community...
  • Blog Post: New T4 blog and new T4 samples

    Some of you may have noticed that we’ve launched a new T4 official blog over at http://blogs.msdn.com/b/t4 . We wanted a single place to consolidate information about T4, whether it be from my team that produces the core T4 engine or the teams within Microsoft that build on top and use T4 as their code...
  • Blog Post: T4 vs Razor – what’s the skinny?

    You might have noticed in the recent storm of Web Tools releases that there’s a groovy new kid on the template engine block – Razor . A few customers have been asking folks on both teams some questions around this, such as the following. Why do you have two engines? When should I use each of these two...
  • Blog Post: Scaffold your ASP.NET MVC 3 project with the MvcScaffolding package and customize with T4

    Steve Sanderson has a nice post up about a project he's working on with the estimable Scott Hanselman . It's a NuGet package that provides an even easier on-ramp to development with the just-released ASP.NET MVC3 framework. In their words, it quickly generates a basic outline of your software that you...
  • Blog Post: VS2010 SP1: T4 Improvements Summary

    Over the last few posts, I've talked about the exciting improvements we've made to T4 Text Templating in Service Pack 1 for Visual Studio 2010. Here's a quick roundup: Firstly, T4 no longer locks referenced assemblies in memory , meaning it's much easier to use reflection in T4 templates and to use compiled...
  • Blog Post: VS2010 SP1: T4 Template Inheritance Part IV – Regular template inheritance

    I promised in the last post that I’d show how to do template extensibility and customization using inheritance with regular templates, rather than the preprocessed kind, so here goes. The preprocessed solution was a three-layer design. The base preprocessed template, DataClass.tt provided the code generation...
  • Blog Post: VS2010 SP1: T4 Template Inheritance Part III – Customizing The Template

    Last time, in Part II , I described a highly structured approach to creating and harnessing a preprocessed template to generate a simple C# class from metadata. I put lots of nice extensibility points in that template and now we’re going to exploit them to show how easy it gets to be to customize a template...
  • Blog Post: VS2010 SP1: T4 Template Inheritance Part II – The Core Template

      Last time , I outlined my scenario – we have a template that produces a very vanilla C# class from metadata and we’d like to customize it to produce something more directly applicable to our current project.  Of course, we could always just copy the standard template into our project and...
  • Blog Post: VS2010 SP1: T4 Template Inheritance Part I – Sample Metadata

    We’ve done a bunch of work on T4 in Visual Studio 2010 SP1 to enable template inheritance.  A reasonable question at this point would be “Why would you want inheritance in your text templates?” Well, the typical reason would be the same as with any other code – because you want reuse and extensibility...
  • Blog Post: VS2010 SP1: T4 no longer locks assemblies in memory

    I’m pleased to say that we made a few nice improvements to our T4 text templating engine in Visual Studio 2010 SP1 (you can find the beta here ). Chief among them is resolving an assembly locking issue that more than a few customers have told us has caused them pain. The most typical cases for folks...
  • Blog Post: WCF RIA Services updates T4 Code Generator

      As it’s the Silverlight Firestarter event today, the very cool WCF RIA Services team have released a new version of their toolkit. You can get the general skinny at Jeff Handley’s blog , but the bit that caught my attention was that they have updated their T4 code generator templates. You can...
  • Blog Post: Maintenance-Free Mocking for Unit Testing with EntityFramework 4.0

    Rab Hallett has a nice tool in the VS Gallery that uses T4 templates to generate mocks for unit-testing EF-based applications Maintenance-Free Mocking for Unit Testing with EntityFramework 4.0 Technorati Tags: T4 , Entity Framework , Unit Testing , Mock Objects
  • Blog Post: Visualization and Modeling Feature Pack with T4 Code Generation

    As Jason Zander and Cameron have announced, we've just released the first Feature Pack for Visual Studio 2010, the Visualization and Modeling Feature Pack. This pack is available to all MSDN subscribers and among a host of other great features, adds T4-based code generation to our UML static class diagrams...
  • Blog Post: What's new in T4 in Visual Studio 2010

    OK, Visual Studio 2010 is well and truly released, so I thought I'd better catalog what goodness is in the box for all you T4 fans out there.. For template authors: Preprocessed templates to allow embedding of template-based generation in arbitrary applications without a runtime T4 dependency. There...
  • Blog Post: Oleg on T4-MSBuild Integration

    The newly released Visualization and Modeling SDK for Visual Studio 2010 includes support for integrating T4 with msbuild. (yay!) The ever-diligent Oleg Sych has the full skinny here . Technorati Tags: T4 , msbuild , Visual Studio 2010
  • Blog Post: Bending T4 to be a textual DSL host

    The estimable MVP and T4 enthusiast, Kathleen Dollard has a new post where she's using T4's ability to spit arbitrary text as a host for a textual DSL. She's set up a small DSL for describing contract interfaces for a MEF framework: new Interface() { Name = "ISearchModelBase" , Scope = Scope.Public,...
  • Blog Post: DTE and T4 - Better Together

    A couple of folks out there have put together some really neat T4 templates that use the host-specific flag and then access Visual Studio's DTE object model to read state from other code in the project and use that as metadata for code generation. Daniel Vaughan started out with a nice post on using...
  • Blog Post: T4 and Silverlight in Visual Studio 2008

    Colin Eberhardt has a nice article on The Code Project walking through using a small textual DSL encoded in XML to define a set of dependency properties and then using that as a data source for T4 to generate all of the necessary boilerplate code. Apart from being intrinsically cool, he's also doing...
  • Blog Post: ASP.Net MVC T4 Updates

    Couple of newsworthy T4 links for the wildly popular ASP.Net MVC framework. This one is from July but I hadn't spotted it - David Ebbo has a new version of his T4MVC set of templates for view generation. Space Invader Zim (nice name) has a walkthrough of an extension to the standard templates that he...
  • Blog Post: Peter Vogel on Code Generation

    There's a fun interview with Peter Vogel on the subject of Code Gen on the ever-popular .NET Rocks talkshow. He's got a new code gen book coming out and in the interview he says he's going to have an "expansion pack" for the book to cover T4. Can't wait for that. You can find the audio here and a transcript...
Page 1 of 3 (54 items) 123