Manually instantiate a Controller instance from an arbitrary URL?
问题 My skills are failing me, and I know I've seen the code around for this but I can't find it. What's the quickest way to take any arbitrary URL, run it through your asp.net mvc routing system, and come out with a reference to a controller instance on the other end? For example, code execution is inside some arbitrary controller method. I want to do something like this: ... string myURL = "http://mysite/mycontroller/myaction/myparameters"; RouteData fakeRouteData = new RouteData(Route???,