Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enable dynamically reconfiguring routes after startup (asyncronously) [like YARP] #64563

Open
Labels
needs-area-labelUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically
@burtonrodman

Description

@burtonrodman

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

I am writing a CMS. To keep my route handlers clean and focused, I want to separate my (somewhat complex) route matching from route handling. The combination of lack of route configuration after startup, and route constraints being NOT asynchronous, makes it difficult to achieve this goal of separation.

YARP provides a very good system for reloading routes after startup (and provides all the thread safety, etc...). For example, I have made very good use of in-memory configuration, loaded from a database, via a background service that refreshes every 5 minutes. This is GREAT for the actual function of a reverse proxy -- I am routing tenants to different servers, etc...

I have no doubt that I could probably configure YARP to do the routing that I want, BUT YARP is overkill for my application once i've gotten down to the site level and deciding whether to handle a hard-coded page, a page from our legacy database, or a page from a new shiny database (which are utterly different code paths).

Describe the solution you'd like

generalize YARP's concept of post-startup, snapshot based configuration swapping in AspNetCore.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-area-labelUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp