title: What is the difference between regular and Async methods (OnGet vs OnGetAsync)
body: <p>I started learning how Razor Pages work, tutorials mention OnGet and OnPost, and also mention that we have async options too: OnGetAsync and OnPostAsync. But they don't mention how they work, obviously they're asynchronous, but how? do they use AJAX?</p>
  <pre><code>public void OnGet()
  {
  }
  
  
  public async Task OnGetAsync()
  {
  }
  </code></pre>