abp
abp copied to clipboard
How configure route for resolving tenant using RouteTenantResolveContributor
Hi.
I'm testing some use cases in ABP 8.2.0 - RC3 (tiered Blazor web-app).
I know that RouteTenantResolveContributor is registered by default.
But I don't understand where or how I can configure the __tenant variable in the route path.
Thanks in advance.
hi
https://github.com/abpframework/abp/issues/7624
I tried the following, but it didn't work
endpoints.MapControllerRoute( name: "tenantRoute", pattern: "{__tenant}/{controller=Home}/{action=Index}/{id?}");