문제

Does anyone know the class(s) and method(s) within the Microsoft MVC framwork (any version, 3,4,5 etc) that actually does the pattern matching exercise on the URL to establish which route to use?

I'm interested to look at the actual mechanics of URL parsing but can't find the code using ILSpy.

도움이 되었습니까?

해결책

Take a look under System.Web.Mvc.Routing. Specifically, RouteBuilder may contain what you're looking for.

Here's the source.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top