Added explicit check of RouteData with InvalidOperationException thrown if no route data exists on current request. Useful for debugging in unit test scenarios.