Skip to content

Commit f17ce2d

Browse files
committed
Clarified app settings instruction per GH issue
1 parent 5e11aea commit f17ce2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/search/tutorial-csharp-create-mvc-app.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,13 @@ Modify `appsettings.json` to specify your search service and [query API key](sea
6565

6666
```json
6767
{
68-
"SearchServiceName": "https://<YOUR-SEARCH-SERVICE-NAME>.search.windows.net",
68+
"SearchServiceUri": "https://<YOUR-SEARCH-SERVICE-URL>,
6969
"SearchServiceQueryApiKey": "<YOUR-SEARCH-SERVICE-QUERY-API-KEY>"
7070
}
7171
```
7272

73+
You can retrieve the [service URL and API key](search-get-started-dotnet.md#copy-a-key-and-endpoint) from the portal. The query API key is sufficient for this tutorial.
74+
7375
## Add models
7476

7577
In this step, create models that represent the schema of the hotels-search-index.

0 commit comments

Comments
 (0)