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: Instructions/Labs/03-render-api-results-razor-pages.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,11 +97,11 @@ The API code is run in a **Windows Terminal** or **Command Prompt**. It runs in
97
97
98
98
The Fruit web app displays the API sample data on the home page. You need to add code to iterate through the sample data returned by the HTTP **GET** operation performed in the code-behind file.
99
99
100
-
### Add code to render data in a table
100
+
### Add code to render data in a table on the home page
101
101
102
102
1. Select the *Home.razor* file in the **Explorer** pane to open it for editing.
103
103
104
-
1. Add the following code between the **@* Begin render API data code block *@** and **@* End render API data code block *@** comments.
104
+
1. Add the following code between the **@\* Begin render API data code block \*@** and **@\* End render API data code block \*@** comments.
105
105
106
106
```razor
107
107
<tbody>
@@ -168,7 +168,7 @@ The add, edit, and delete operations are each handled on a separate *.razor* pag
168
168
169
169
1. Select the *Add.razor* file in the **Explorer** pane to open it for editing.
170
170
171
-
1. Add the following code between the **@* Begin render Add code block *@** and **@* End render Add code block *@** comments.
171
+
1. Add the following code between the **@\* Begin render Add code block \*@** and **@\* End render Add code block \*@** comments.
172
172
173
173
```csharp
174
174
@* Data is added using a Razor form, the data model is bound to the form.*@
@@ -221,7 +221,7 @@ In this section you add code to create a form in the *Edit.cshtml* file to enabl
221
221
222
222
1. Select the *Edit.razor* file in the **Explorer** pane to open it for editing.
223
223
224
-
1. Add the following code between the **@* Begin render Edit code block *@** and **@* End render Edit code block *@** comments.
224
+
1. Add the following code between the **@\* Begin render Edit code block \*@** and **@\* End render Edit code block \*@** comments.
225
225
226
226
```csharp
227
227
@* Data is edited using a Razor form, the data model is bound to the form.*@
@@ -274,7 +274,7 @@ In this section you add code to create a form in the *Delete.cshtml* file to ena
274
274
275
275
1. Select the *Delete.razor* file in the **Explorer** pane to open it for editing.
276
276
277
-
1. Add the following code between the **@* Begin render Delete code block *@** and **@* End render Delete code block *@** comments.
277
+
1. Add the following code between the **@\* Begin render Delete code block \*@** and **@\* End render Delete code block \*@** comments.
278
278
279
279
```csharp
280
280
@* Data is deleted using a Razor form, the data model is bound to the form.*@
0 commit comments