You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/blazor/host-and-deploy/webassembly/deployment-layout.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,6 @@ The approach demonstrated in this article serves as a starting point for develop
46
46
47
47
The approach described in this article is used by the *experimental*[`Microsoft.AspNetCore.Components.WebAssembly.MultipartBundle` package (NuGet.org)](https://www.nuget.org/packages/Microsoft.AspNetCore.Components.WebAssembly.MultipartBundle) for apps targeting .NET 6 or later. The package contains MSBuild targets to customize the Blazor publish output and a [JavaScript initializer](xref:blazor/js-interop/index#javascript-initializers) to use a custom [boot resource loader](xref:blazor/fundamentals/startup#load-boot-resources), each of which are described in detail later in this article.
48
48
49
-
[Experimental code (includes the NuGet package reference source and `CustomPackagedApp` sample app)](https://github.com/aspnet/AspLabs/tree/main/src/BlazorWebAssemblyCustomInitialization)
50
-
51
49
> [!WARNING]
52
50
> Experimental and preview features are provided for the purpose of collecting feedback and aren't supported for production use.
# Scaffold a data model with dotnet scaffold in a Razor Pages project
15
14
16
15
The CLI tool, [dotnet scaffold](https://www.nuget.org/packages/Microsoft.dotnet-scaffold) creates data access UI for many .NET project types, such as API, Aspire, Blazor, MVC, and Razor Pages. `dotnet scaffold` can be run interactively or as a command line tool via passing parameter values.
@@ -39,7 +38,7 @@ To navigate the UI, use the:
39
38
40
39
## Create and scaffold a data model in a Razor Pages project
41
40
42
-
If you have any problems with the following steps, see [Tutorial: Create a Razor Pages web app with ASP.NET Core](/aspnet/core/tutorials/razor-pages/) and select the **Visual Studio Code** tab.
41
+
If you have any problems with the following steps, see <xref:tutorials/razor-pages/index?tabs=visual-studio-code>.
43
42
44
43
1. Run the following commands to create a Razor Pages project and navigate to the projects folder:
45
44
```dotnetcli
@@ -78,7 +77,7 @@ In The preceding commands:
78
77
79
78
*`dotnet tool uninstall --global dotnet-ef` uninstalls the `dotnet-ef` tool. Uninstalling ensures the latest tool is successfully installed. If `dotnet-ef` isn't installed, an error messages **A tool with the package Id 'dotnet-ef' could not be found.** You can ignore this message.
80
79
*`dotnet tool install --global dotnet-ef` installs globally the `dotnet-ef` tool.
81
-
*`dotnet ef migrations add initialMigration` adds the initial migration. For more information, see [Create the initial database schema using EF's migration feature](/aspnet/core/tutorials/razor-pages/model&tabs=visual-studio-code)
80
+
*`dotnet ef migrations add initialMigration` adds the initial migration. For more information, see <xref:tutorials/razor-pages/model?tabs=visual-studio-code>.
82
81
*`dotnet ef database update` applies the migrations to the database.
83
82
84
83
Run the app:
@@ -94,5 +93,5 @@ Run the app:
94
93
95
94
*[dotnet scaffold repo on GitHub](https://github.com/dotnet/Scaffolding)
96
95
*[How to manage .NET tools](/dotnet/core/tools/global-tools)
0 commit comments