First of all, I have read a lot of post relating this issue like: Asp.net MVC RouteBase and IoC , Tenant-specific routes for dynamically loaded modules , and many others.
What I want is: - Dynamically create pages like tenant1.mydomain.com, tenant2.mydomain.com, etc. - My tenants will have the same functionality but just different content, styles, title, etc.
I have tried extending RouteBase class but have read that is not a clean solution. Then I have tried creating a custom RouteConstraint like above posts recommend but not succeded.
Help me!
Thanks!