How to rebuild the DFA tree/route candidates dynamically? #53889
Unanswered
devinfluencer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I got an OData service with configurable data sources and an admin surface. When the admin has changed the data source configuration, a refresh button shall rebuild the routes and Edm models. The latter works fine, but the routing tables don't get rebuilt although I restart the WebApp according to How to restart asp.net core app programmatically?.
Seems like the DfaStates are static and can only be recreated by restarting the process.
Is there a way to recreate the DFA, the candidates and then the EndpointDataSources programmatically?
Thanks,
Thomas
Beta Was this translation helpful? Give feedback.
All reactions