Where can I find the documentation for the MvcScaffold package listed in nuPack?

I am trying to find documentation on how to use the MvcScaffold package on nuPack, but cannot find anything.

I know that I have basic intellisense support in the package management console, but I want to do something more complex than your typical scaffolding.

I was hoping there would be some kind of documentation somewhere.

Does anyone know where there is documentation on this package?

+6
asp.net-mvc nuget scaffolding nuget-package
source share
3 answers

I also can not find a link to a real project. Although Scott Hanselman has an example on his NuPack blog . Forests are invoked with a simple shell script power , so you can always access it.

Three commands are available:

> Get-MvcViewTemplates (gets a list of available T4 templates) > Add-MvcView TemplateName (creates a view based on a T4 template: IE List, Details, Edit, Create or Delete) > Scaffold-MvcViews -ModelType MyModel (creates views for the model) 

In the above example, only the required parameters are used, but you can use any of the additional parameters:

 > Add-MvcView Edit -ModelType Product -OutputFileExtension .ascx 
+1
source share
Steve Sanderson just posted some hauts about this topic on his blog - they are worth reading: http://blog.stevensanderson.com/category/scaffolding/
+3
source share

There is still no dock for this package, it is still a prototype, you can download the package and look at the source to see all the options.

+1
source share

All Articles