dotnet / Scaffolding

Code generators to speed up development.
MIT License
640 stars 228 forks source link

More customization... #159

Open gkochanowsky opened 8 years ago

gkochanowsky commented 8 years ago

I've been playing with the current implementation of CodeGeneration and so far so good, however I am a long time user of Steve Sanderson's MvcScaffolding project [ http://blog.stevensanderson.com/2011/01/13/scaffold-your-aspnet-mvc-3-project-with-the-mvcscaffolding-package/ ] and was hoping that this new incarnation of scaffolding was fully customizable. What I mean by that is the ability to add additional views, change view names, add additional cs files or whatever. That this would be done by some sort of a script file that was called by the scaffolder.

An off the cuff kludge might be to expose methods in the code generation library that could be called from the scaffold file and then use that as a kind of script to drive the process of what to create during scaffolding. Maybe it could only be executed from the command line.

I'm not familiar with the code base but this may not be difficult to implement with what is there. I'd be glad to help, if someone could point me in the right direction as to how to get started.

barrytang commented 8 years ago

TFS Bug#232583

gkochanowsky commented 8 years ago

So a bit of an update on this. I did build a command line custom scaffolder that works from a json file in a conventional location and it works fine. It was done in RC1. Haven't had a chance to try it in RC2. If I got it working would there be any interest in the group looking at it?

OskarKlintrot commented 7 years ago

Any updates on this one?

Eilon commented 7 years ago

Removing from milestone because this milestone already shipped.