【发布时间】:2022-02-19 00:40:46
【问题描述】:
我正在尝试使用约束来实现 API 版本控制(API 作为查询传递)。以前,我可以使用RouteFactoryAttribute 和IHttpRouteConstraint。现在,有IRouteConstraint 用于路由约束;但是,我没有找到可以使用的 RouteFactoryAttribute 的替代品。
【问题讨论】:
标签: asp.net asp.net-mvc asp.net-core asp.net-web-api asp.net-core-3.1