title: Routing parameter with blazor server
body: <pre><code>@page &quot;/customer&quot;
  @page &quot;/customer/{id:int}&quot;//work
  @page &quot;/customer/{BigId:Int64}&quot;//not work
  
  
  
  @code {
  
  [Parameter]
  public int? id { get; set; }//work
  
  [Parameter]
  public Int64? BigId { get; set; }//not work
  }
  </code></pre>
  <blockquote>
  <p>Error: System.NullReferenceException: Object reference not set to an instance of an object.
  at Microsoft.AspNetCore.Components.Routing.Router.Refresh(Boolean isNavigationIntercepted)
  at Microsoft.AspNetCore.Components.Routing.Router.SetParametersAsync(ParameterView parameters)</p>
  </blockquote>