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/search/tutorial-csharp-create-mvc-app.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.devlang: csharp
12
12
ms.custom:
13
13
- ignite-2023
14
14
ms.topic: tutorial
15
-
ms.date: 01/17/2025
15
+
ms.date: 07/10/2025
16
16
---
17
17
18
18
# 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](
45
45
46
46
1. Provide a project name, and then select **Next**.
47
47
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**.
49
49
50
-
1.Verify that **Do not use top-level statements** is unchecked.
50
+
1.Accept the defaults.
51
51
52
52
1. Select **Create**.
53
53
@@ -74,7 +74,7 @@ Modify `appsettings.json` to specify your search service and [query API key](sea
74
74
75
75
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.
76
76
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.
78
78
79
79
## Add models
80
80
@@ -476,11 +476,8 @@ In the hotels-sample-index, sortable fields include Rating and LastRenovated. Th
476
476
477
477
For more information about sorting, see [OData $orderby syntax in Azure AI Search](search-query-odata-orderby.md).
478
478
479
-
## Next steps
479
+
## Next step
480
480
481
481
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.
482
482
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