Closed jchannon closed 10 years ago
Just tried it out :thumbsup: I'm bringing more features to the yo-generator, you can follow that at https://github.com/shirhatti/generator-aspnet
Cool! Maybe we can combine them if interested?
On Thursday, 31 July 2014, Sourabh Shirhatti notifications@github.com wrote:
Just tried it out [image: :thumbsup:] I'm bringing more features to the yo-generator, you can follow that at https://github.com/shirhatti/generator-aspnet
Reply to this email directly or view it on GitHub https://github.com/ligershark/Kulture/issues/7#issuecomment-50802580.
@shanselman Scott, do you think we should combine aspnet and aspnet nancy generators into a single generator or keep them separate?
Well, it depends on how big this gets. It'd be nice if it had a lot of choices out of the box, but a simple plugin model would be more flexible.
I'll leave this here https://www.youtube.com/watch?v=qZDRhNw_TPI
This is a great plugin, good work chaps!
@shanselman @jchannon We can consider a few basic templates and one option that says show me more options. Allow the community to contribute to this list the power the more options.
Eg:
[?] What type of application do you want to create? (Use arrow keys)
> Console Application
Web Application
MVC Application
Show me more templates
The show me more templates will be powered by a JSON file that folks can contribute to easily. Eg: https://github.com/shirhatti/package_control_channel/blob/master/repository/f.json
[
{
"name": "Nancy",
"description": "Nancy ASP.NET App generator",
"url": "https://github.com/jchannon/aspnet_vnext_samples"
},
{
"name": "Another awesome generator",
"description": "Make awesome apps",
"url": "http://awesomeliveshere"
}
]
The proposal from @Shirhatti sounds good to me.
How about if you had?
[?] What type of application do you want to create? (Use arrow keys)
> Console Application
> Nancy
SimpleWeb
WebAPI
etc
Web Application
Nancy
SimpleWeb
WebAPI
etc
I think that is going to lead to too many options in the long run. Also if we did want to try that can we point to the separate repo easily like in the Try More case or would they have to be in the same repo?
We could point to the seperate repo a bit like this - https://github.com/shirhatti/generator-aspnet/blob/master/app/index.js#L72
OK let's try it out if we get to the point where there are too many options then we can simplify after that. We should make sure that all templates are working with significant releases of VS.
cc @shirhatti @shanselman
Cool :balloon:
I'm not sure what other options you're thinking of though. SW and Fubu are no longer being maintained. OpenRasta is starting up again so that might be one option. I guess there may be a F# option too that people may like?
@jchannon we are planning to write a blog post on the asp.net web dev blog for the generators soon. Ideally we could include the Nancy generators in that post as well. Did you want to put together the PR for the changes required to include the Nancy generators? If you can get it in the next few days I can release and @shirhatti can update the post.
Yup I'll get that done today!
OK Nancy generators are now a part of asp.net generators, I will close this item now.
Just to let you know I've taken your aspnet generator and made a Nancy one https://www.npmjs.org/package/generator-nancy
Please try it out and let me know how it goes