diff --git a/aspnetcore/tutorials/razor-pages/model.md b/aspnetcore/tutorials/razor-pages/model.md index 07fce415ceb6..8d632cd3aabd 100644 --- a/aspnetcore/tutorials/razor-pages/model.md +++ b/aspnetcore/tutorials/razor-pages/model.md @@ -132,6 +132,8 @@ For more information, see [dotnet aspnet-codegenerator](xref:fundamentals/tools/ --- +[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)] + ### Files created and updated The scaffold process creates the following files: @@ -153,6 +155,7 @@ The scaffold process adds the following highlighted code to the `Program.cs` fil The `Program.cs` changes are explained later in this tutorial. + ## Create the initial database schema using EF's migration feature diff --git a/aspnetcore/tutorials/razor-pages/model/includes/model3.md b/aspnetcore/tutorials/razor-pages/model/includes/model3.md index 511f31e08e32..cebe85fcaa8f 100644 --- a/aspnetcore/tutorials/razor-pages/model/includes/model3.md +++ b/aspnetcore/tutorials/razor-pages/model/includes/model3.md @@ -8,6 +8,8 @@ The model classes are known as POCO classes (from "plain-old CLR objects") becau [View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie30) ([how to download](xref:index#how-to-download-a-sample)). +[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)] + ## Add a data model # [Visual Studio](#tab/visual-studio) diff --git a/aspnetcore/tutorials/razor-pages/model/includes/model5.md b/aspnetcore/tutorials/razor-pages/model/includes/model5.md index c8c42e482856..6fa369811d00 100644 --- a/aspnetcore/tutorials/razor-pages/model/includes/model5.md +++ b/aspnetcore/tutorials/razor-pages/model/includes/model5.md @@ -159,6 +159,8 @@ The `appsettings.json` file is updated with the connection string used to connec --- +[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)] + ### Files created and updated The scaffold process creates the following files: diff --git a/aspnetcore/tutorials/razor-pages/model/includes/model6.md b/aspnetcore/tutorials/razor-pages/model/includes/model6.md index 6a6cdef944b0..ba50ed306c3f 100644 --- a/aspnetcore/tutorials/razor-pages/model/includes/model6.md +++ b/aspnetcore/tutorials/razor-pages/model/includes/model6.md @@ -169,6 +169,8 @@ The `appsettings.json` file is updated with the connection string used to connec --- +[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)] + ### Files created and updated The scaffold process creates the following files: diff --git a/aspnetcore/tutorials/razor-pages/model/includes/model7.md b/aspnetcore/tutorials/razor-pages/model/includes/model7.md index 9af5af4c698d..22a282c00fe0 100644 --- a/aspnetcore/tutorials/razor-pages/model/includes/model7.md +++ b/aspnetcore/tutorials/razor-pages/model/includes/model7.md @@ -202,6 +202,8 @@ In each of the files, append `= default!;` to the `Movie` declaration. For examp Fixed in GA per https://github.com/dotnet/Scaffolding/issues/1594#issuecomment-1292422389 --> +[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)] + ### Files created and updated The scaffold process creates the following files: diff --git a/aspnetcore/tutorials/razor-pages/model/includes/model8.md b/aspnetcore/tutorials/razor-pages/model/includes/model8.md index f8ae9e5ed19a..c9a00a3f4520 100644 --- a/aspnetcore/tutorials/razor-pages/model/includes/model8.md +++ b/aspnetcore/tutorials/razor-pages/model/includes/model8.md @@ -186,6 +186,8 @@ The `appsettings.json` file is updated with the connection string used to connec --- +[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)] + ### Files created and updated The scaffold process creates the following files: