C#C
C#3y ago
Vortac

Dynamically enable/disable a route in ASP.NET 7?

Is there a way to dynamically enable/disable a route in ASP.NET 7? I'd like to be able to enable/disable a registration endpoint of an API depending on whether or not an admin selects.
Was this page helpful?