Skip to content

Commit 01074d8

Browse files
committed
touchups
1 parent 46f2d74 commit 01074d8

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

articles/app-service/app-service-web-tutorial-dotnet-sqldatabase.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Tutorial: ASP.NET app with Azure SQL Database'
3-
description: Learn how to deploy a data-driven C# ASP.NET app in Azure App Service and connect it to Azure SQL Database.
3+
description: Learn how to deploy a data-driven C# ASP.NET app to Azure App Service and connect it to Azure SQL Database.
44
ms.assetid: 03c584f1-a93c-4e3d-ac1b-c82b50c75d3e
55
ms.devlang: csharp
66
ms.topic: tutorial
@@ -22,8 +22,9 @@ In this tutorial, you:
2222

2323
> [!div class="checklist"]
2424
>
25-
> - Publish a web app that has a SQL database back end to Azure.
26-
> - Create an Azure SQL database to hold the app data, and connect the ASP.NET app to the Azure SQL database.
25+
> - Publish a data-driven web app to Azure.
26+
> - Create an Azure SQL database to hold the app data.
27+
> - Connect the ASP.NET app to the Azure SQL database.
2728
> - Update the data model and redeploy the app.
2829
> - Stream application logs from Azure to Visual Studio.
2930
@@ -150,7 +151,7 @@ The connection string is set in the *Web.config* file and referenced in the *Mod
150151
1. Under **Connection string name**, enter the name of the connection string referenced in *Models/MyDatabaseContext.cs*, in this case *MyDbConnection*.
151152

152153
> [!NOTE]
153-
> If you see **Local user secrets files** instead, you might have configured SQL Database from the **Connected Services** page instead of the **Publish** page.
154+
> If you see **Local user secrets files** instead, make sure you used the **Publish** page, not the **Connected Services** page, to configure SQL Database.
154155
155156
1. Select **Additional settings**, make sure **Azure App Settings** is selected, and select **Finish**.
156157

@@ -168,7 +169,7 @@ Congratulations! Your data-driven ASP.NET application is running live in Azure A
168169

169170
You can use **SQL Server Object Explorer** in Visual Studio to easily explore and manage your Azure SQL database. In **SQL Server Object Explorer**, you can perform most common database operations, such as running queries or creating views and stored procedures.
170171

171-
The new database opened its firewall to the App Service app you created, but to access the database from your local computer, such as from Visual Studio, you must open a firewall for your local machine's public IP address.
172+
The new database opened its firewall to the App Service app you created. To access the database from your local computer, such as from Visual Studio, you must open a firewall for your local machine's public IP address.
172173

173174
>[!NOTE]
174175
>If your internet service provider changes your public IP address, you need to reconfigure the firewall to access the Azure database again.
@@ -200,7 +201,7 @@ This firewall rule allows the public IP address of your local computer. The dial
200201

201202
![Screenshot that shows exploring SQL Database objects.](./media/app-service-web-tutorial-dotnet-sqldatabase/explore-sql-database.png)
202203

203-
## Update app with Code First Migrations
204+
## Update the app with Code First Migrations
204205

205206
You can use familiar tools in Visual Studio to update your database and app in Azure. In this step, you use Code First Migrations in Entity Framework to make a change to your database schema and publish it to Azure.
206207

@@ -339,7 +340,7 @@ Open _Controllers\TodosController.cs_, and note that each action starts with a `
339340
340341
### Change trace levels
341342
342-
1. To change the trace levels to output other trace messages, in the **Hosting** section of the **Publish** page, select the **...** at upper right and select **Open in Azure portal**.
343+
1. To change the trace levels to output other trace messages, in the **Hosting** section of the **Publish** page, select the **...** at upper right and then select **Open in Azure portal**.
343344
344345
1. On the Azure portal page for your app, select **App Service logs** under **Monitoring** in the left menu.
345346
@@ -367,10 +368,10 @@ To stop the log-streaming service, select the **Stop monitoring** icon in the **
367368

368369
## Related content
369370

370-
- [Configure ASP.NET app](configure-language-dotnet-framework.md)
371-
- [Start analyzing costs with Cost Management](../cost-management-billing/costs/quick-acm-cost-analysis.md?WT.mc_id=costmanagementcontent_docsacmhorizontal_-inproduct-learn)
371+
- [Configure an ASP.NET app for Azure App Service](configure-language-dotnet-framework.md)
372+
- [Quickstart: Start using Cost analysis](/azure/cost-management-billing/costs/quick-acm-cost-analysis?WT.mc_id=costmanagementcontent_docsacmhorizontal_-inproduct-learn)
372373

373-
Advance to the next tutorial to learn how to use managed identity to improve your Azure SQL Database connection security.
374+
Go to the next tutorial to learn how to use managed identity to improve your Azure SQL Database connection security.
374375

375376
> [!div class="nextstepaction"]
376377
> [Tutorial: Connect to SQL Database from App Service without secrets using a managed identity](tutorial-connect-msi-sql-database.md)

0 commit comments

Comments
 (0)