Skip to content

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
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.

3 participants