Skip to content

Add Blazor-like routing #118

@TeseySTD

Description

@TeseySTD

Overview

As discussed in #100, user expect RazorConsole to support the default Blazor navigation model — including pages, routing, and NavigationManager.
I think it is a pretty good idea - I'd like to implement it.

Proposed Implementation

I’ve already experimented with a prototype. It uses:

  • a custom route registry,
  • a custom navigation manager implementation,
  • and a few internal components (ConsoleRouter and ConsoleRouteView as analogy to Router and RouteView) to map console rendering to the standard Blazor routing pipeline.

Component API remains identical to Blazor — meaning @page and @layout routing-related directives continue to work as usual.

If this proposal aligns with the project vision, I’m ready to finalize the implementation and submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions