Web API versioning using URI

preview_player
Показать описание
Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All ASP .NET Web API Text Articles and Slides

All ASP .NET Web API Videos

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

In this video we will discuss
1. Why is versioning required in Web API
2. Different options available to version Web API services
3. How to version a Web API service using URI's

Why is versioning required in Web API :
Once a Web API service is made public, different client applications start using your Web API services.

As the business grows and requirements change, we may have to change the services as well, but the changes to the services should be done in way that does not break any existing client applications.

This is when Web API versioning helps. We keep the existing services as is, so we are not breaking the existing client applications, and develop a new version of the service that new client applications can start using.

Different options available to version Web API services : Versioning can be implemented using
1. URI's
2. Query String
3. Version Header
4. Accept Header
5. Media Type
Рекомендации по теме
Комментарии
Автор

Venkat i dont know how to thank you for this videos. you are my favorite teacher.

daviddonadze
Автор

Back to your site after 2 years for getting some concept crisp and clear. Your Admirer for years

jyotipanday
Автор

Thanks a lot sir. You're explanations are awesome !!!

subramaniamananthakrishnan
Автор

Hello! Thanks again for all knowledge shared, your videos are the best!
About the Attribute routing: Is the ID optional in the example v2?

diogosilva
Автор

if i need versioning using more than 1 controllers ?

khalidosama
Автор

Is there a way we can achieve versioning without code duplication. For example in case we are fetching the data from database then do we need to create multiple version ( V1, V2 etc) for each methods in our business logic layer and Data access layer and so on.?

rohanrvs
Автор

Hi Venkat. Can we use API versioning to hide API methods?

PalBose
Автор

Sir pls make some tutorial about owin and katana

biswajitmishra
Автор

defaults: new { id = RouteParameter.Optional, controllers="studentV1", controllers="studentV1" } // how can i sue more than controllers ?!!

khalidosama