Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

路由调整建议 #26

Description

@jetablezhu

路由规则建议调整为:
1.固定格式的精确匹配路由放在最上面,比如Blogs/{controller}/{action}/{id}
2.忽略的路由放在顶层,比如{resource}.axd/{*pathInfo}
3.plugs的路由最好用短别名(且不重复),否则url不好看也不好记
4.最通用的路由放在最后,比如{controller}/{action}/{id}
截图

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions