Skip to content

Commit 44feaaf

Browse files
committed
https://github.com/MicrosoftDocs/azure-docs/issues/54865
1 parent cac381e commit 44feaaf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/app-service/containers/tutorial-dotnetcore-sqldb-app.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@ dotnet ef migrations add AddProperty
309309
dotnet ef database update
310310
```
311311

312+
> [!NOTE]
313+
> If you open a new terminal window, you need to set the connection string to the production database in the terminal, like you did in [Run database migrations to the production database](#run-database-migrations-to-the-production-database).
314+
>
315+
312316
### Use the new property
313317

314318
Make some changes in your code to use the `Done` property. For simplicity in this tutorial, you're only going to change the `Index` and `Create` views to see the property in action.
@@ -363,6 +367,10 @@ Run the app locally.
363367
dotnet run
364368
```
365369

370+
> [!NOTE]
371+
> If you open a new terminal window, you need to set the connection string to the production database in the terminal, like you did in [Run database migrations to the production database](#run-database-migrations-to-the-production-database).
372+
>
373+
366374
In your browser, navigate to `http://localhost:5000/`. You can now add a to-do item and check **Done**. Then it should show up in your homepage as a completed item. Remember that the `Edit` view doesn't show the `Done` field, because you didn't change the `Edit` view.
367375
368376
### Publish changes to Azure

0 commit comments

Comments
 (0)