Hi Express,
when I want to manage multiple restufl api versions in one codebase. I faced a problem. I don't copy v1 version fold to v2 then change v2 folder source code,. In this case, it would create so much duplicated source code. Is there a way that we can identify controller/service modules to be use in specific api versions? for example, some controller we could use both for v1 and v2, some of controllers , we only use it in v2. Just like "versioning" middleware in aspnet core. thx~
https://www.infoworld.com/article/3562355/how-to-use-api-versioning-in-aspnet-core.html
Hi Express,
when I want to manage multiple restufl api versions in one codebase. I faced a problem. I don't copy v1 version fold to v2 then change v2 folder source code,. In this case, it would create so much duplicated source code. Is there a way that we can identify controller/service modules to be use in specific api versions? for example, some controller we could use both for v1 and v2, some of controllers , we only use it in v2. Just like "versioning" middleware in aspnet core. thx~
https://www.infoworld.com/article/3562355/how-to-use-api-versioning-in-aspnet-core.html