Stop exception from being thrown for non-existent controller

前端 未结 4 1480
攒了一身酷
攒了一身酷 2021-02-15 09:50

Ok, so I am stumped on this issue. I have seen a lot of things that are supposed to resolve this issue, but I am not getting a resolution that can fulfill my requirements.

4条回答
  •  失恋的感觉
    2021-02-15 10:50

    I use DSO's ITCloud Contrib. None of that {controller}/{action} generic parameters. Explicit UrlRoute attributes for each action method. I like seeing the parameter constraints directly above the method.

提交回复
热议问题