0

is it possibile retrive the endpoint templates configured on the Configure method in the StartUp.cs ?


app.UseEndpoints(endpoints =>
            {           
    endpoints.MapDynamicControllerRoute<TranslationTransformer>("{tenant}/{slug}");
    endpoints.MapDynamicControllerRoute<TranslationTransformer>("{tenant}/{typology}/{slug}/{id}");
            });

I try to export the template section for passing passing it to an /routing api

Thanks in advance.

0 Answers0