Why this sample code:
- Microsoft.AspNetCore.Mvc.Versioning help you to add versioning to your ASP.NET Core Web API, however sometimes is not necessary to use it. Add more layers to your code is not a good practice.
- This sample will show you how to add versioning on your ASP.NET Core Web API easily with a better maintenance of your API.
This information is related on my blog http://geeks.ms/jorge/.