9. What Is Swagger | How To Configure Swagger In ASP.NET Core Web APIs

Опубликовано: 18 Декабрь 2024
на канале: Harshalkumar Jain
160
1

Azure App Service Tutorial -    • Azure App Service Tutorial  

In this video,
Let us understand what swagger is. We will also understand what are the uses or benefits of swagger

Then, we will understand - how we can configure swagger in ASP.NET Core WEB API project with practical example


***************************************************************************************************
We need to install below nuget package
swashbuckle.aspnetcore


We need to add - below 3 lines of code - in Program.cs file

builder.Services.AddSwaggerGen();

app.UseSwagger();

app.UseSwaggerUI(options =AngledBracket
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "v1");
options.RoutePrefix = string.Empty;
options.DocumentTitle = "Swagger Demo";

});
***************************************************************************************************


This video is a part of:
Azure App Service Tutorial -    • Azure App Service Tutorial  

---------------------------------------------------------------------------------------------------------------------------
Below is the link for all my playlists
   / @harshalkumarjain  

You can reach me on LinkedIn at:
  / harshalkumar-jain-63554715  

If you find this video useful - please like and subscribe to my channel

If you have something exciting for me - please contact me at
[email protected]

I really want to keep all tutorials 'free and accessible to all'
It requires efforts to create quality content, so you may also buy me a coffee - if you find my tutorials/videos useful
https://buymeacoffee.com/harshalkumar...
---------------------------------------------------------------------------------------------------------------------------



Please ignore below:
Keywords:
Deploy rest api in azure app service,
Visual studio deploy api in Azure App service,
azure deploy web api,
Deploy api in Azure App Service,


My Equipment:
My Laptop: https://amzn.to/4aJrcMo
My Pen Tablet: https://amzn.to/3Q2BNbL
My Mic: https://amzn.to/42FEeZu
My mobile for video recording: https://amzn.to/40YmIyk
Ring Light for Video Recording: https://amzn.to/4aHwZlN
Wired Speaker: https://amzn.to/4aMRRI5
Wired Earphone: https://amzn.to/40I08bU

Video Editing: Wondershare Filmora (Please purchase from official website)
Screen Recording: OBS Studio (It's free) .
.
A Good Budget Laptop: https://amzn.to/3WXkYmp


Смотрите видео 9. What Is Swagger | How To Configure Swagger In ASP.NET Core Web APIs онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Harshalkumar Jain 18 Декабрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 160 раз и оно понравилось 1 людям.