How is a request URL routed to a tenant?

Topics: Customizing Orchard
Jan 30, 2015 at 11:27 AM
A request comes into IIS and is passed over to Orchard and something in the lifecycle must have to find the ShellContext and through that the shell settings. Does anyone know where this lookup happens?

Thanks
Matt
Jan 30, 2015 at 11:55 AM
I found the RunningShellTable in Orchard.Environment.
Marked as answer by MattGC on 1/30/2015 at 3:55 AM