Skip to content

Commit 959957e

Browse files
ROPC for models RP /1 (#33936)
* ROPC for models RP /1 * ROPC for models RP /1 * ROPC for models RP /1
1 parent be0b77c commit 959957e

File tree

6 files changed

+13
-0
lines changed

6 files changed

+13
-0
lines changed

aspnetcore/tutorials/razor-pages/model.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ For more information, see [dotnet aspnet-codegenerator](xref:fundamentals/tools/
132132

133133
---
134134

135+
[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)]
136+
135137
### Files created and updated
136138

137139
The scaffold process creates the following files:
@@ -153,6 +155,7 @@ The scaffold process adds the following highlighted code to the `Program.cs` fil
153155

154156
The `Program.cs` changes are explained later in this tutorial.
155157

158+
156159
<a name="pmc7"></a>
157160

158161
## Create the initial database schema using EF's migration feature

aspnetcore/tutorials/razor-pages/model/includes/model3.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ The model classes are known as POCO classes (from "plain-old CLR objects") becau
88

99
[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)).
1010

11+
[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)]
12+
1113
## Add a data model
1214

1315
# [Visual Studio](#tab/visual-studio)

aspnetcore/tutorials/razor-pages/model/includes/model5.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ The `appsettings.json` file is updated with the connection string used to connec
159159

160160
---
161161

162+
[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)]
163+
162164
### Files created and updated
163165

164166
The scaffold process creates the following files:

aspnetcore/tutorials/razor-pages/model/includes/model6.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ The `appsettings.json` file is updated with the connection string used to connec
169169

170170
---
171171

172+
[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)]
173+
172174
### Files created and updated
173175

174176
The scaffold process creates the following files:

aspnetcore/tutorials/razor-pages/model/includes/model7.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ In each of the files, append `= default!;` to the `Movie` declaration. For examp
202202
Fixed in GA per https://github.com/dotnet/Scaffolding/issues/1594#issuecomment-1292422389
203203
-->
204204

205+
[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)]
206+
205207
### Files created and updated
206208

207209
The scaffold process creates the following files:

aspnetcore/tutorials/razor-pages/model/includes/model8.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ The `appsettings.json` file is updated with the connection string used to connec
186186
187187
---
188188
189+
[!INCLUDE [managed-identities-test-non-production](~/includes/managed-identities-test-non-production.md)]
190+
189191
### Files created and updated
190192
191193
The scaffold process creates the following files:

0 commit comments

Comments
 (0)