Defining a Service Version
There are four out-of-the-box supported approaches for versioning a service:
- By query string parameter
- By media type parameter
- By HTTP header
- By URL path segment
The default method is to use a query string parameter named api-version. You can also combine API versioning approaches together or define your own custom method of API versioning.