vegarev + subdomain   3 mvc - MVC Custom Routing Subdomain - Stack Overflow
I'm trying to build a "Tenant" Subdomain route that attaches to a MVC Area. In this case I have an Area called "Tenant" which has two controllers; Public and Admin. My custom Route is used to grab the Subdomain if it matches then route them to the proper Controller-Action-Area.
mvc  routing  subdomain  areas  routedata 
july 2019 by vegarev
Subdomain Routing in ASP.NET MVC
Detecting and routing based on a subdomain in ASP.NET MVC is fairly easy with this handy snippet of code.
subdomain  routing  mvc 
july 2019 by vegarev

Copy this bookmark: