Implement the new feature without impacting the existing consumers we can solve this problem by API versioning.
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.
No comments:
Post a Comment