ASP.NET Web Api - how to include API version number in the path as routing parameter
How to include API version number v1, v2, v3, etc in the path (like .../v1/... ) and have it:
being used to select proper version of Controller class
carried over to Controller as a parameter (optional)
Here is how HTTP calls to different API versions would look like:
Now let's take a look at the server side. In most ...