title: Razor page: why the first parameter is null
body: <p>I have a simple Razor page with a list of transactions. I'm trying to implement paging for it. I've added the following method in page model:</p>
  <pre><code>public async Task OnGetAsync(int? page, int? rows)
  {
      //The logic
  }
  </code></pre>
  <p>When I call this method by the URL:</p>
  <pre><code>/transactions
  </code></pre>
  <p>It works as expected: page and rows are both equal to null.</p>
  <p>However, if I try to call this method by the following URL:</p>
  <pre><code>/transactions?page=3&amp;rows=2
  </code></pre>
  <p>The rows equal to 2, but the page is null. That looks weird for me.
  Why does it work like that?
  I know that I can create a property and use it from the request:</p>
  <pre><code>[BindProperty(SupportsGet = true)]
  public int CurrentPage { get; set; }
  </code></pre>
  <p>But I wanted to know why the page parameter has a null value an use it if it is possible.</p>