Closed
Description
Hi,
Consider a namespace-based versioning of the same controllers/models (like in the code examples here).
I was thinking of using convention-based versioning according to the namespace of each controller - go over all controllers, extract the version from their namespace, and version the controller with that version.
This way, when I'm working on a new version, I replicate the current version to a new folder, refactor the namespaces, and that's it.
Will that work? Did anyone try it (both code-wise and maintenance-wise)? Any #implementation tips are welcome... I'm using ASP.Net Web API.
Thank you!
Nir