Answer the question
In order to leave comments, you need to log in
Using DynamicRouteValueTransformer in ASP.NET Core?
I want to use dynamic routes: example.com/yutsuken
I did this
app.UseEndpoints(endpoints =>
{
endpoints.MapControllerRoute(name: "default", pattern: "{controller=Home}/{action=Index}/{id?}");
endpoints.MapDynamicControllerRoute<SeoTransformer>("{**path}");
});
Answer the question
In order to leave comments, you need to log in
Something tells me
That this will help you
https://docs.microsoft.com/ru-ru/dotnet/api/system...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question