No Swagger in .NET 9? Replace it with SCALAR! (How To Set Up JWT Authentication in Scalar .NET)
With the arrival of .NET 9 came the removal of Swagger as the default tool for API documentation in .NET. So while you can just add Swagger back in, there are alot of reasons why you would want to stay away. Swagger is not getting regular maintenance and there was no new release for .NET 8. This lack of care can lead to security risks and it's better to just go ahead and look for alternatives. One of those alternatives is Scalar. It is very similar to Swagger but with some really cool features and its actually actively maintained.
Removal of Swagger: https://github.com/dotnet/aspnetcore/issues/54599
Scalar Options: https://github.com/scalar/scalar/blob/main/documentation/configuration.md
Nuget Package: https://www.nuget.org/packages/Scalar.AspNetCore/1.2.5
Scalar DotNet Integration: https://github.com/scalar/scalar/blob/main/packages/scalar.aspnetcore/README.md
Join this channel for $3 and get access to perks & VIDEOS CODE:
https://www.youtube.com/channel/UCGUKXx5HYoEIiZ5Me2QDvTw/join
Support Me On Patreon: https://www.patreon.com/israelquiroz
Follow Me On TikTok: https://www.tiktok.com/@israelquiroz93?lang=en
All My Links Here: https://linktr.ee/israelquiroz
#replaceSwagger #Scalar #dotnet9
Timestamp
--------------------------
00:00 Intro
00:12 Why Swagger was removed from .NET 9
00:55 What is Scalar?
01:46 Features of the Scalar Documentation and our .NET 9 API
03:19 How To Install Scalar in our .NET 9 API
03:49 Scalar Customization Options
05:37 Demo of Scalar hitting my API endpoints using JWT Auth
06:55 How To Set Up JWT Authentication in Scalar
Видео No Swagger in .NET 9? Replace it with SCALAR! (How To Set Up JWT Authentication in Scalar .NET) канала Israel Quiroz
Removal of Swagger: https://github.com/dotnet/aspnetcore/issues/54599
Scalar Options: https://github.com/scalar/scalar/blob/main/documentation/configuration.md
Nuget Package: https://www.nuget.org/packages/Scalar.AspNetCore/1.2.5
Scalar DotNet Integration: https://github.com/scalar/scalar/blob/main/packages/scalar.aspnetcore/README.md
Join this channel for $3 and get access to perks & VIDEOS CODE:
https://www.youtube.com/channel/UCGUKXx5HYoEIiZ5Me2QDvTw/join
Support Me On Patreon: https://www.patreon.com/israelquiroz
Follow Me On TikTok: https://www.tiktok.com/@israelquiroz93?lang=en
All My Links Here: https://linktr.ee/israelquiroz
#replaceSwagger #Scalar #dotnet9
Timestamp
--------------------------
00:00 Intro
00:12 Why Swagger was removed from .NET 9
00:55 What is Scalar?
01:46 Features of the Scalar Documentation and our .NET 9 API
03:19 How To Install Scalar in our .NET 9 API
03:49 Scalar Customization Options
05:37 Demo of Scalar hitting my API endpoints using JWT Auth
06:55 How To Set Up JWT Authentication in Scalar
Видео No Swagger in .NET 9? Replace it with SCALAR! (How To Set Up JWT Authentication in Scalar .NET) канала Israel Quiroz
Комментарии отсутствуют
Информация о видео
11 декабря 2024 г. 19:00:16
00:12:15
Другие видео канала