title: Routing in multitenancy site
body: <p>I have a multitenacy WebSite, and i need to solve the routing so that:</p>
  
  <p>A request enters to</p>
  
  <pre><code>www.maindomain.com/{site}/{controller}/{action}/{id}
  </code></pre>
  
  <p>First, a global filter is executed, and stores the current site on ViewData</p>
  
  <pre><code>ViewData["tenant"] = current {controller} request
  </code></pre>
  
  <p>And then, the correct controller/action is executed, so that it can retrive the request's site:</p>
  
  <pre><code> public class ViewItem : Controller 
   {
     public ActionResult ViewItem(int id) 
     {
       string site = ViewData["tenant"];
       return View("you are viewing the item" + id + " from tenant" + tenant ;
     }
   }
  </code></pre>
  
  <p>I think i need to configure some routing, is it possible?</p>