ASP.NET API Versioning for Web API & Minimal API a comprehensive introduction

Опубликовано: 22 Октябрь 2024
на канале: DotNet Core Central
3,705
83

In this video, I will cover how to implement API versioning for both Standard Web API and Minimal API.

00:06 - Why do we need API versioning
00:40 - Four strategies for API versioning
01:02 - NuGet packages required for Standard Web API Versioning
02:14 - Configuring API Versioning in DI
05:50 - Run default version test using Postman
07:00 - Setup controller for API versioning using Attributes
07:52 - API Versioning through query string
08:35 - API Versioning through HTTP Headers
10:16 - API Versioning through Media Type header
11:50 - Setting up two versions of the same API
14:45 - API Versioning through URL
15:42 - Deprecating an older version of API
17:01 - Using conversion-based configuration for API versions in DI
19:25 - API Versioning for Minimal API
23:04 - Setting up two versions through Minimal API

#csharp #dotnet6 #aspnetcorewebapi #api #apiversioning #dotnet

Some of my popular videos:

Elasticsearch with .NET and introduction:    • An Introduction to Elasticsearch (Bui...  

Hangfire Scheduling an introduction:    • Scheduling recurring jobs with Hangfi...  

ASP.NET Core Authentication with JWT (JSON Web Token):    • ASP.NET Core Authentication with JWT ...  

Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1):    • Running Background tasks using IHoste...  

How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes):    • How to build an API Gateway in ASP.NE...  

My blog site: https://dotnetcorecentral.com/