Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spark T4 templates for ASP.NET MVC

I was just curious if any Spark T4 templates already exist that match/are similar to the out of the box web forms view templates (create, edit, details, etc...). My Google skills didn't lead me to any results.

like image 998
Chris Avatar asked Nov 01 '09 04:11

Chris


People also ask

What is the purpose of using T4 templates?

Design-time T4 text templates let you generate program code and other files in your Visual Studio project.

What is T4 template in Entity Framework?

T4 templates in entity framework are used to generate C# or VB entity classes from EDMX files. Visual Studio 2013 or 2012 provides two templates- EntityObject Generator and DBContext Generator for creating C# or VB entity classes. The additional templates are also available for download.

What are scaffold templates in MVC?

Scaffold templates are used to generate code for basic CRUD operations within your ASP.NET MVC applications against your database with the help Entity Framework. These templates use the Visual Studio T4 templating system to generate views for basic CRUD operations with the help of Entity Framework.

What is T4MVC?

T4MVC is a T4 template for ASP.NET MVC apps that creates strongly typed helpers that eliminate the use of literal strings in many places.


1 Answers

I've translated the mvc2 templates to spark, feel free to copy:

http://guiftp.free.fr/SparkViewTemplates.rar

like image 84
Guillaume86 Avatar answered Oct 12 '22 13:10

Guillaume86