I\'m just getting started with ASP.NET MVC.
What is the difference between MapRoute and routes.Add ? Should I just be using MapRoute? Can I map multiple routes? Which \"
Your User controller should have
public class UserController : Controller { public ActionResult Index(string domain, string username) { return View(); } }
The two variables on the Index method of the user controller get picked up from the route.