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
Guidelines on README format: https://review.docs.microsoft.com/help/onboard/admin/samples/concepts/readme-template?branch=master
24
27
@@ -49,15 +52,15 @@ In order to run this sample, the WideWorldImporters database is needed. Install
49
52
50
53
## Add Database Objects
51
54
52
-
Once the sample database has been installed, you need to add some stored procedure that will called from Python. The SQL code is available here:
55
+
Once the sample database has been installed, you need to add some stored procedures that will be called from .NET. The SQL code is available here:
53
56
54
57
`./SQL/WideWorldImportersUpdates.sql`
55
58
56
59
If you need any help in executing the SQL script, you can find a Quickstart here: [Quickstart: Use Azure Data Studio to connect and query Azure SQL database](https://docs.microsoft.com/en-us/sql/azure-data-studio/quickstart-sql-database)
57
60
58
61
## Run sample locally
59
62
60
-
Make sure you have [.NET Core 3.0](https://dotnet.microsoft.com/download) SDK installed on your machine. Clone this repo in a directory on our computer and then configure the connection string in `appsettings.json`.
63
+
Make sure you have [.NET Core 3.0](https://dotnet.microsoft.com/download) SDK installed on your machine. Clone this repo in a directory on your computer and then configure the connection string in `appsettings.json`.
61
64
62
65
If you don't want to save the connection string in the `appsettings.json` file for security reasons, you can just set it using an environment variable:
@@ -128,7 +131,7 @@ Now that your REST API solution is ready, it's time to deploy it on Azure so tha
128
131
129
132
-[Create an ASP.NET Core app in App Service on Linux](https://docs.microsoft.com/en-us/azure/app-service/containers/quickstart-dotnetcore)
130
133
131
-
The only thing you have do in addition to what explained in the above articles is to add the connection string to the Azure Web App configuration. Using AZ CLI, for example:
134
+
The only thing you have do in addition to what explained in the above article is to add the connection string to the Azure Web App configuration. Using AZ CLI, for example:
132
135
133
136
```bash
134
137
appName="azure-sql-db-dotnet-rest-api"
@@ -143,7 +146,7 @@ az webapp config connection-string set \
143
146
144
147
Just make sure you correctly set `$appName` and `$resourceGroup` to match your environment and also that the variable `$ConnectionStrings__DefaultConnection` as also been set, as mentioned in section "Run sample locally".
145
148
146
-
An example of a full script that deploy the REST API is available here: `azure-deploy.sh`.
149
+
An example of a full script that deploys the REST API is available here: `azure-deploy.sh`.
0 commit comments