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: articles/app-service/app-service-web-tutorial-dotnet-sqldatabase.md
+9-14Lines changed: 9 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ Before you can create a database, you need a [logical SQL server](/azure/azure-s
123
123
124
124
1. On the **Azure SQL Database** screen, next to **Database server**, select **New**.
125
125
126
-
Change the server name to a value you want. The server name is used as part of the default URL for your server, `<server_name>.database.windows.net`. It must be unique across all servers in Azure SQL.
126
+
Change the server name to a value you want. The server name is part of the default URL for your server, `<server_name>.database.windows.net`. It must be unique across all servers in Azure SQL.
127
127
128
128
1. Add an administrator username and password. For password requirements, see [Password policy](/sql/relational-databases/security/password-policy).
129
129
@@ -144,16 +144,16 @@ Before you can create a database, you need a [logical SQL server](/azure/azure-s
144
144
145
145
1. When the database resources are created, select **Next**.
146
146
147
-
1. Under **Connection string Name**, enter the name of the connection string referenced in *Models/MyDatabaseContext.cs*, in this case *MyDbConnection*.
148
-
149
-
1. Select **Next**, and then select **Finish**.
147
+
1. Under **Connection string name**, enter the name of the connection string referenced in *Models/MyDatabaseContext.cs*, in this case *MyDbConnection*.
150
148
151
149
> [!NOTE]
152
150
> If you see **Local user secrets files** instead, you might have configured SQL Database from the **Connected Services** page instead of the **Publish** page.
153
151
152
+
1. Select **Additional settings**, make sure **Azure App Settings** is selected, and select **Finish**.
153
+
154
154
### Deploy the ASP.NET app
155
155
156
-
1.At the top of the **Publish** tab, select **Publish**. Your ASP.NET app deploys to Azure, and your default browser launches to the URL of the deployed app.
156
+
1.When the connection succeeds, at the top of the **Publish** tab, select **Publish**. Your ASP.NET app deploys to Azure, and your default browser launches to the URL of the deployed app.
157
157
158
158
1. Add a few to-do items.
159
159
@@ -174,17 +174,12 @@ Congratulations! Your data-driven ASP.NET application is running live in Azure A
174
174
175
175
1. At the top of the **SQL Server Object Explorer** window, select the icon to **Add SQL Server**.
176
176
177
-
### Configure the database connection
178
-
179
-
1. In the **Connect** dialog, expand the **Azure** node to view all your Azure SQL Database instances.
180
-
181
-
1. Select the database you created earlier. The connection you created earlier is automatically filled at the bottom.
182
-
183
-
1. Type your database administrator password and select **Connect**.
177
+
1. On the **Connect** screen, your connection appears under the **Azure** node. Fill in the information for your **Server Name**, **User Name**, **Password**, and **Database Name**, and select **Connect**.
184
178
185
179

186
180
187
-
### Allow client connection from your computer
181
+
182
+
<!--### Allow client connection from your computer
188
183
189
184
The **Create a new firewall rule** dialog opens. By default, a server allows connections to its databases only from Azure services, such as your Azure app. To connect to your database from outside of Azure, create a firewall rule at the server level.
190
185
@@ -195,7 +190,7 @@ This firewall rule allows the public IP address of your local computer. The dial
195
190

196
191
197
192
Once Visual Studio finishes creating the firewall setting for your SQL Database instance, your connection appears in **SQL Server Object Explorer**.
198
-
193
+
-->
199
194
In **SQL Server Object Explorer**, you can perform most common database operations, such as running queries or creating views and stored procedures.
200
195
201
196
Expand your connection's > **Databases** > **\<your database>** > **Tables**. Right-click the `Todoes` table and select **View Data**.
0 commit comments