Skip to content

[Epic] Templating #9937

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

Closed
DamianEdwards opened this issue May 3, 2019 · 7 comments
Closed

[Epic] Templating #9937

DamianEdwards opened this issue May 3, 2019 · 7 comments
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates Epic Groups multiple user stories. Can be grouped under a theme.
Milestone

Comments

@DamianEdwards
Copy link
Member

DamianEdwards commented May 3, 2019

Simplification

  • Make the templates as simple as they can be while continuing to serve their primary purpose
  • Defaults for most of these should not use packages to ensure projects can be created offline. OK for optional parameters to result in packages being added.

ILogger - #10332

  • Update all our activated types to take ILogger<T>
  • e.g. Controllers, Pages, Hubs, etc.
  • Inject in constructor and place on a property

Worker

  • Add context to the hostbuilder (done)
  • Doc the ability to use Windows Services instead of using an option
  • No options for Worker

API

Web Application

Blazor - #10348

  • In-box is called "Blazor Server App" / blazorserver
  • OOB is called "Blazor WebAssembly App" / blazorwasm
    • With an option to add a hosting ASP.NET Core project

Naming & Options Summary

  • Empty Web App
  • Web App
    • Auth: all the options we have today
    • MVC boolean option:
      • dotnet new webapp (equiv to dotnet new razor) or dotnet new webapp --mvc
  • Blazor Server App
  • Worker Service
    • Keywords: Windows Service, Background
  • API Service
    • Keywords: REST, HTTP+JSON, etc.
  • gRPC Service
  • Blazor Server App
  • Blazor WebAssembly App
    • Blazor WebAssembly App (ASP.NET Core hosted)
    • This becomes an option of the "Blazor WebAssembly App" template when VS can render it
  • Angular App (OOB it?)
  • React App (OOB it?)
  • React with Redux App (OOB it?)
  • Vue App (theoretical OOB)

VS Item templates

TBD

@DamianEdwards DamianEdwards added the Epic Groups multiple user stories. Can be grouped under a theme. label May 3, 2019
@DamianEdwards DamianEdwards added this to the 3.0.0 milestone May 3, 2019
@Eilon Eilon added area-grpc Includes: GRPC wire-up, templates area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels May 3, 2019
@Andrzej-W
Copy link

It would be nice to have Auth option in Blazor WebAssembly App (ASP.NET Core hosted) and Blazor Server App

@DamianEdwards
Copy link
Member Author

@Andrzej-W there is a plan for auth for Blazor apps that is being executed on for preview6 I believe @danroth27?

@danroth27
Copy link
Member

Yup: #4048

@los93sol
Copy link

los93sol commented May 4, 2019

It would be awesome if the Blazor templates were closer aligned to the other web templates. That layout is the first thing I strip out of every project.

@JamesNK
Copy link
Member

JamesNK commented Jul 15, 2019

gRPC template is pretty close to final. Just minor tweaks to the project name left.

@mkArtakMSFT
Copy link
Member

A lot of this work has been done in 3.0. Moving the issue to 5.0 to tackle the remaining work.

@mkArtakMSFT mkArtakMSFT modified the milestones: 3.0.0, 5.0.0 Aug 14, 2019
@captainsafia
Copy link
Member

Closing in favor of the newer issues created around template strategy in 6.0.

#27338

@ghost ghost locked as resolved and limited conversation to collaborators Dec 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates Epic Groups multiple user stories. Can be grouped under a theme.
Projects
None yet
Development

No branches or pull requests

8 participants