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

Published: 18 December 2024
on channel: 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


Watch video 9. What Is Swagger | How To Configure Swagger In ASP.NET Core Web APIs online without registration, duration hours minute second in high quality. This video was added by user Harshalkumar Jain 18 December 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 160 once and liked it 1 people.