Skip to content

Commit bbc3e42

Browse files
Merge pull request #5979 from HeidiSteen/heidist-july
Tested and updated code, revised steps for create-mvc-app
2 parents 628d6ff + a6fcee7 commit bbc3e42

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.devlang: csharp
1212
ms.custom:
1313
- ignite-2023
1414
ms.topic: tutorial
15-
ms.date: 01/17/2025
15+
ms.date: 07/10/2025
1616
---
1717

1818
# Create a search app in ASP.NET Core
@@ -45,9 +45,9 @@ Sample code for this tutorial can be found in the [azure-search-dotnet-samples](
4545

4646
1. Provide a project name, and then select **Next**.
4747

48-
1. On the next page, select **.NET 6.0** or **.NET 7.0** or **.NET 8.0**.
48+
1. On the next page, select **.NET 9.0**.
4949

50-
1. Verify that **Do not use top-level statements** is unchecked.
50+
1. Accept the defaults.
5151

5252
1. Select **Create**.
5353

@@ -74,7 +74,7 @@ Modify `appsettings.json` to specify your search service and [query API key](sea
7474

7575
You can get the service URL and API key from the Azure portal. Because this code is querying an index and not creating one, you can use a query key instead of an admin key.
7676

77-
Make sure to specify the search service that has the hotels-sample-index.
77+
Make sure to specify a search service that has the hotels-sample-index.
7878

7979
## Add models
8080

@@ -476,11 +476,8 @@ In the hotels-sample-index, sortable fields include Rating and LastRenovated. Th
476476

477477
For more information about sorting, see [OData $orderby syntax in Azure AI Search](search-query-odata-orderby.md).
478478

479-
## Next steps
479+
## Next step
480480

481481
In this tutorial, you created an ASP.NET Core (MVC) project that connected to a search service and called Search APIs for server-side filtering and sorting.
482482

483-
If you want to explore client-side code that responds to user actions, consider adding a React template to your solution:
484-
485-
> [!div class="nextstepaction"]
486-
> [C# Tutorial: Add search to a website with .NET](tutorial-csharp-overview.md)
483+
To add client-side code that responds to user actions, use a React template in your solution: [C# Tutorial: Add search to a website with .NET](tutorial-csharp-overview.md)

0 commit comments

Comments
 (0)