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

不支持版本控制 #36

Open
ylwlf888 opened this issue Sep 28, 2020 · 3 comments
Open

不支持版本控制 #36

ylwlf888 opened this issue Sep 28, 2020 · 3 comments
Labels

Comments

@ylwlf888
Copy link

试了下不支持多版本控制,如:/api/v1/service1,
/api/v2/service1,
我看了下abp的代码好像有个AddAbpApiVersioning,可以研究下把它引进来,不然没法用

@stulzq
Copy link
Collaborator

stulzq commented Sep 28, 2020

可以设置 [DynamicWebApi(Module="v1")] ,ApiVersioning 这个 MS 有个库,我们后面研究看是否引入进来

@stulzq stulzq added the feature label Sep 28, 2020
@ylwlf888
Copy link
Author

DynamicWebApi[module='v1']这种方式对applicationservice这一层有侵入,最好直接把AspNetCore.Mvc.Versioning引进来支持就行了,期待新版本就完美了,即可用上生产系统,去掉现有的controll了。

@Gavinluo
Copy link

这个问题解决了吗?

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

No branches or pull requests

3 participants