API Versioning in Asp.Net Core Web Api | api Versioning using Query String and URL.



API Versioning in Asp.Net Core Web Api | api Versioning using Query String and URL.

API Versioning in Asp.Net Core Web Api | api Versioning using Query String and URL.

API Versioning in Asp.Net Core Web Api | api Versioning using Query String and URL.

When the business has started to grow and expand, new requirements arise. Due to this, we may need to provide more functionality in the existing APIs. However, existing Web API can be consumed by many clients so how to implement the new feature without impacting the existing consumers? We can solve this problem by versioning our API.

Different ways of implementing Versioning in Web API.
1.Query String
2. URL.
3. HTTP Header
There are other ways as well, like accept-header and content type.