An interactive dotnet tool dotnet scaffold has been released in preview.

dotnet tool install --global Microsoft.dotnet-scaffold

dotnet scaffold has support for the following ASP.NET Core project types:

  • Web app
  • Web API
  • .NET Aspire
  • Blazor

From the README:

For more information on ASP.NET scaffolding, see the following tutorials:

  • Add a model to an ASP.NET Core MVC app
  • Add a model to a Razor Pages app
  • Tutorial: Create a web API with ASP.NET Core
  • Scaffold Identity

For context: Entity Framework has Reverse Engineering with the dotnet ef dbcontext scaffold command/tool.

  • JakenVeina@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 month ago

    Bleh. The .NET world could do with fewer tools that obscure and handwave away how things really work, not more.