In this post, we look at leveraging T4 templates to extend the power of LLBLGen inside of Visual Studio .NET. Writing T4 templates to auto-generate code is almost a norm at this point it seems, it’s built-in to ASP.NET MVC, and used as a first-class tool in most ORMs. So why not use T4 templates to extend the power of LLBLGen as well.
In this post, we extend the implementation described in the prior post to include generating an HTML UI and RESTful Api on top of LLBLGen Typed Views and Typed Lists, leveraging the ServiceStack web service and razor framework. The api provides paging, sorting, filtering – source is hosted on GitHub, and a demo is included as well.code generation, llblgen, odata, orm, rest, servicestack