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

Scaffolding support minimal projects in .NET 6 Preview 7+ #1609

Merged
merged 10 commits into from
Aug 4, 2021

Conversation

deepchoudhery
Copy link
Member

@deepchoudhery deepchoudhery commented Aug 2, 2021

Enabling scaffolding support for minimal projects in .NET 6 Preview 7.
Following scaffolders are working with this new update :

  • Area
  • Razor Page
  • Razor Page w/ EF
  • MVC views and controllers
  • MVC views and controllers w/ EF
  • API controllers
  • API controllers w/ EF

Scaffolders not working yet :

  • Identity --> Tracking here.

Since there is no Startup.cs, all code changes are made to Program.cs regarding app setup code for DbContexts and any other app service calls. The scaffolder content of the controllers, views, and pages has not been changed.

Added a new shared assembly between aspnet-codegenerator and msidentity tools called "Microsoft.DotNet.Scaffolding.Shared" causing the high number of file changes (mostly namespace imports). Will require corresponding changes in VS to refer to this assembly instead of Microsoft.VisualStudio.Web.CodeGeneration.Contracts (doesn't exist anymore)

@deepchoudhery deepchoudhery self-assigned this Aug 2, 2021
@deepchoudhery deepchoudhery force-pushed the dev/decho/minimalProjectScaffolding branch 3 times, most recently from 1610fcb to 2669a3e Compare August 3, 2021 01:12
@deepchoudhery deepchoudhery force-pushed the dev/decho/minimalProjectScaffolding branch from 01e9fd0 to a13935d Compare August 4, 2021 00:01
@deepchoudhery deepchoudhery merged commit fe75212 into main Aug 4, 2021
@deepchoudhery deepchoudhery deleted the dev/decho/minimalProjectScaffolding branch August 4, 2021 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants