Skip to content

Commit 232088d

Browse files
committed
more edits
1 parent 645f82e commit 232088d

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,20 @@ For the connection, the app presents a query API key to your fully qualified sea
6363

6464
Modify `appsettings.json` to specify your search service and [query API key](search-security-api-keys.md).
6565

66-
```json
67-
{
68-
"SearchServiceUri": "https://<YOUR-SEARCH-SERVICE-URL>,
69-
"SearchServiceQueryApiKey": "<YOUR-SEARCH-SERVICE-QUERY-API-KEY>"
70-
}
71-
```
66+
```json
67+
{
68+
"SearchServiceUri": "<YOUR-SEARCH-SERVICE-URL>",
69+
"SearchServiceQueryApiKey": "<YOUR-SEARCH-SERVICE-QUERY-API-KEY>"
70+
}
71+
```
72+
73+
You can get the [service URL and API key](search-get-started-dotnet.md#copy-a-key-and-endpoint) from the portal. Because this code is querying an index and not creating one, you can use a query key instead of an admin key.
7274

73-
You can retrieve the [service URL and API key](search-get-started-dotnet.md#copy-a-key-and-endpoint) from the portal. Because this code is querying an index, and not creating one, you can use a query key instead of an admin key.
75+
Make sure to specify the search service that has the hotels-sample-index.
7476

7577
## Add models
7678

77-
In this step, create models that represent the schema of the hotels-search-index.
79+
In this step, create models that represent the schema of the hotels-sample-index.
7880

7981
1. In Solution explorer, right-select **Models** and add a new class named "Hotel" for the following code:
8082

0 commit comments

Comments
 (0)