AspNetCore.Docs/aspnetcore/includes/mvc-intro/model4.md

937 B

no-loc
Home
Privacy
Kestrel
appsettings.json
ASP.NET Core Identity
cookie
Cookie
Blazor
Blazor Server
Blazor WebAssembly
Identity
Let's Encrypt
Razor
SignalR

The following table details the ASP.NET Core code generator parameters:

Parameter Description
-m The name of the model.
-dc The data context.
-udl Use the default layout.
--relativeFolderPath The relative output folder path to create the files.
--useDefaultLayout The default layout should be used for the views.
--referenceScriptLibraries Adds _ValidationScriptsPartial to Edit and Create pages

Use the h switch to get help on the aspnet-codegenerator controller command:

dotnet aspnet-codegenerator controller -h

For more information, see dotnet aspnet-codegenerator