# Microsoft.AspNetCore.Components.Routing

``` diff
 namespace Microsoft.AspNetCore.Components.Routing {
+    public sealed class NavigationContext {
+        public CancellationToken CancellationToken { get; }
+        public string Path { get; }
+    }
     public class Router : IComponent, IDisposable, IHandleAfterRender {
+        public RenderFragment Navigating { get; set; }
+        public Func<NavigationContext, Task> OnNavigateAsync { get; set; }
     }
 }
```

