abp icon indicating copy to clipboard operation
abp copied to clipboard

How configure route for resolving tenant using RouteTenantResolveContributor

Open sebitsi opened this issue 1 year ago • 1 comments

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.

sebitsi avatar Jun 06 '24 10:06 sebitsi

hi

https://github.com/abpframework/abp/issues/7624

maliming avatar Jun 08 '24 05:06 maliming

I tried the following, but it didn't work endpoints.MapControllerRoute( name: "tenantRoute", pattern: "{__tenant}/{controller=Home}/{action=Index}/{id?}");

LEIRONGHUA avatar Apr 11 '25 11:04 LEIRONGHUA