Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api verison with same RoutePrefix will throw an exception #3

Open
chengwhynot opened this issue Feb 3, 2015 · 0 comments
Open

api verison with same RoutePrefix will throw an exception #3

chengwhynot opened this issue Feb 3, 2015 · 0 comments

Comments

@chengwhynot
Copy link

two controllers with same RoutePrefix, using current LearningControllerSelector will throw an null reference exception, because of the routeData.Values["controller"] is null.

According to this answer, I changed the SelectController(), and named all my controllers using naming convension ...V1(2 and etc)Controller , now it can find correct controller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant