Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template Wishlist #233

Closed
3 of 9 tasks
blackdwarf opened this issue Feb 1, 2017 · 17 comments
Closed
3 of 9 tasks

Template Wishlist #233

blackdwarf opened this issue Feb 1, 2017 · 17 comments
Assignees
Labels
area: template-content The issue is related to content of template packages managed in this repo (/template_feed) triaged The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone

Comments

@blackdwarf
Copy link

blackdwarf commented Feb 1, 2017

Moved here on behalf of @piotrpMSFT from dotnet/cli#4675

This issue tracks asks for additional CLI Templates that folks would like to have access to. Think of these as Up For Grabs work items for folks that want to build CLI templates. Let us know if you're interested in taking one of these on!

@blackdwarf
Copy link
Author

From @clentfort

A "ASP.NET Web API" template for dotnet new would be nice. :)

@mlorbetske
Copy link
Contributor

@blackdwarf @clentfort a Web API template is available for C# in dotnet new as of yesterday

@TheRealPiotrP
Copy link

:D

@mlorbetske mlorbetske added this to the Backlog milestone Feb 2, 2017
@enricosada
Copy link
Contributor

  • global.json ?

@mlorbetske
Copy link
Contributor

Added global.json and Dockerfile and vscode launch/task configs to the list

@dasMulli
Copy link

I'd have a global.json template at https://github.com/dasMulli/global.json-template/tree/master/DasMulli.Templates.GlobalJson/content/GlobalJson

If there is interest, i could contribute it to the item templates in this repository.

@mlorbetske
Copy link
Contributor

@davidfowl global.json item template for dotnet new - thoughts?

@enricosada
Copy link
Contributor

yes, please.

Is really useful to teach how to create templates (dotnet new template).
Awesome if this contains also props to show things (how to add a prop, how to add a conditional in source file, or csproj/fsproj).
So more a guidance, but working

@akerd
Copy link

akerd commented May 30, 2017

With release of dotnet core 2.0.0 preview1 I read that VB.Net is now supported. It would be nice have a basic template that support that language too.

@anweiss
Copy link

anweiss commented Feb 7, 2018

Any word on the Docker support?

@mlorbetske
Copy link
Contributor

I know @glennc is looking in to adding docker support

@patridge
Copy link
Contributor

@blackdwarf Out of curiosity, what exactly are folks looking for out of the "CLI tool template?" wishlist item in the first comment?

@radu-matei
Copy link

Just cross-posting from #823 - an option to have .gitignore per project or per solution would be extremely helpful.

@genalt genalt added the need-pm-discussion Need agreement from PM that the issue aligns to targeted stories for any of the next 2 releases label Mar 18, 2020
@genalt
Copy link
Contributor

genalt commented Mar 18, 2020

After approval from PM, we will decide which new templates from that list we can implement. Also, we will open a separate issue for every template for better progress tracking.
Consider the following list during the discussion:

@donJoseLuis donJoseLuis removed this from the Backlog milestone Mar 20, 2020
@donJoseLuis donJoseLuis added the triaged The issue was evaluated by the triage team, placed on correct area, next action defined. label Mar 20, 2020
@vlada-shubina vlada-shubina removed the need-pm-discussion Need agreement from PM that the issue aligns to targeted stories for any of the next 2 releases label Sep 15, 2020
@vlada-shubina vlada-shubina added the area: template-content The issue is related to content of template packages managed in this repo (/template_feed) label Apr 21, 2021
@bekir-ozturk bekir-ozturk added the need-pm-discussion Need agreement from PM that the issue aligns to targeted stories for any of the next 2 releases label May 19, 2021
@bekir-ozturk
Copy link
Contributor

@KathleenDollard Can you check the list and see which ones to plan?

@baronfel baronfel self-assigned this Apr 18, 2022
@baronfel
Copy link
Member

  • Docker

    • This would be a prime one to do when we have contextual information about the project being scaffolded into (e.g. after the constraints work in Constraints - Generic Authoring #3107 is done). We need information about the output path of a project, its TFM, etc in order to correctly generate a dockerfile.
  • CLI Tool template

    • this is a good idea, but we'd need to coordinate with the SDK team about their recommendations for tool authors. Right now a tool is just a console application with two additional MSBuild properties set, and that's not difficult enough to justify the effort in my opinion.
      • <PackAsTool>true</PackAsTool>
      • <ToolCommandName>CUSTOM NAME GOES HERE</ToolCommandName>
  • Starter solution

    • I see this one as a lot of work. What we do in templates has a lot of weight, and if we choose some practice or a particular tool in this template, we put our thumb on the scale in a pretty major way. There are a number of whole-solution templates that seem to be filling this need well already.
  • VS Code tasks/launch configurations

    • VS Code provides extensibility points for generating tasks and debug launch configurations that can be 'ejected' by a user into task.json/launch.json files. This generative capability means they can be updated as your projects change without having to track them in a file. Therefore we should not make a template specifically for these items, and instead should request updates to Omnisharp to provide these tasks and launch configs. I've implemented this for Ionide for F# and it works well, and the practice is common across other ecosystems like node/golang/etc.
  • Extensibility

    • Assuming this means MSBuild here. I agree strongly with this, and will likely push for the MSBuild team to create/maintain author a template. We've only recently started documenting Task/Target guidelines (in the final stages of some updates to that work right now, as a matter of fact), but then it would be a good thing to create a template that captures that guidance.

@baronfel baronfel removed the need-pm-discussion Need agreement from PM that the issue aligns to targeted stories for any of the next 2 releases label Apr 18, 2022
@baronfel baronfel added this to the Backlog milestone Apr 18, 2022
@vlada-shubina
Copy link
Member

I have created separate issues for #4607 and dotnet/msbuild#7548 for the dockerfile/MSBuild templates.
We don't plan to do other templates at the moment. Closing the issue.

If you'd like to request a new template please create an individual issue per requested template. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: template-content The issue is related to content of template packages managed in this repo (/template_feed) triaged The issue was evaluated by the triage team, placed on correct area, next action defined.
Projects
None yet
Development

No branches or pull requests