Skip to content

Commit 0478cc4

Browse files
author
PeterTurcan
committed
links to live github code
1 parent b895f03 commit 0478cc4

File tree

3 files changed

+7
-23
lines changed

3 files changed

+7
-23
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ To complete this tutorial, you need to:
4646

4747
### Install and run the project from GitHub
4848

49-
1. Locate the sample app at TBD-First-app.
49+
1. Locate the sample on GitHub: [Create first app](https://github.com/Azure-Samples/azure-search-dotnet-samples).
5050
1. Select **Clone or download** and make your private local copy of the project.
51-
1. Using Visual Studio open the solution and select **Start without debugging** (or press F5).
51+
1. Using Visual Studio, navigate to, and open the solution for the basic search page, and select **Start without debugging** (or press F5).
5252
1. Type in some words (for example "wifi", "view", "bar", "parking"), and examine the results!
5353

5454
![Searching for "wifi"](./media/tutorial-csharp-create-first-app/azure-search-wifi.png)

articles/search/tutorial-csharp-paging.md

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In this tutorial, you learn how to:
2222

2323
To complete this tutorial, you need to:
2424

25-
Have the [C# Tutorial: Create your first app - Azure Search](tutorial-csharp-create-first-app.md) project up and running. This project can either be your own version, or install it from TBD-First-app
25+
Have the [C# Tutorial: Create your first app - Azure Search](tutorial-csharp-create-first-app.md) project up and running. This project can either be your own version, or install it from GitHub: [Create first app](https://github.com/Azure-Samples/azure-search-dotnet-samples).
2626

2727
## Extend your app with numbered paging
2828

@@ -34,16 +34,10 @@ The system will be flexible enough to allow the number of visible page numbers t
3434

3535
The system will treat the left-most and right-most page number buttons as special, meaning they will trigger changing the range of page numbers displayed. For example, if page numbers 8, 9, 10, 11 and 12 are displayed, and the user clicks on 8, then the range of page numbers displayed changes to 6, 7, 8, 9, and 10. And there is a similar shift to the right if they selected 12.
3636

37-
38-
### Start with your first search app
39-
40-
1. If you created it yourself and have the project handy, start from there. Alternatively download the first app from here.
41-
xxxx
42-
43-
2. Run the project to make sure it works.
44-
4537
### Add paging fields to the model
4638

39+
Have the basic search page solution open.
40+
4741
1. Open the SearchData.cs model file.
4842

4943
2. First add some global variables. In MVC global variables are declared in their own static class. **ResultsPerPage** sets the number of results per page. **MaxPageRange** determines the number of visible page numbers on the view. **PageRangeDelta** determines how many pages left or right the page range should be shifted, when the left-most or right-most page number is selected. Typically this latter number is around half of **MaxPageRange**. Add the following code into the namespace.
@@ -381,8 +375,6 @@ Now select **Start Without Debugging** (or press the F5 key).
381375

382376
![Searching for "town"](./media/tutorial-csharp-create-first-app/azure-search-town.png)
383377

384-
385-
386378
Now save off this project and let's try an alternative to this form of paging.
387379

388380
## Extend your app with infinite scrolling
@@ -391,15 +383,7 @@ Infinite scrolling is triggered when a user scrolls a vertical scroll bar to the
391383

392384
The important point here is that the page being displayed is not replaced, but appended to with the new results. A user can always scroll back up to the first results of the search.
393385

394-
To implement infinite scrolling, let's start with the project before adding any of the page number scrolling elements.
395-
396-
### Start with your first search app
397-
398-
1. If you created it yourself and have the project handy, start from there. Alternatively download the first app from here.
399-
400-
TBD
401-
402-
2. Run the project to make sure it still works.
386+
To implement infinite scrolling, let's start with the project before any of the page number scrolling elements were added. So, if you need to, make another copy of the basic search page from GitHub: [Create first app](https://github.com/Azure-Samples/azure-search-dotnet-samples).
403387
404388
### Add paging fields to the model
405389

articles/search/tutorial-csharp-type-ahead-and-suggestions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In this tutorial, you learn how to:
2424

2525
To complete this tutorial, you need to:
2626

27-
Have the [C# Tutorial: Search results pagination - Azure Search](tutorial-csharp-paging.md) project up and running. This can either be your own version, or install it from TBD-Paging-Numbers
27+
Have the [C# Tutorial: Search results pagination - Azure Search](tutorial-csharp-paging.md) project up and running. This can either be your own version, that you completed in the previous tutorial, or install it from GitHub: [Create first app](https://github.com/Azure-Samples/azure-search-dotnet-samples).
2828

2929
## Add suggestions
3030

0 commit comments

Comments
 (0)