Swagger is Gone in .NET 9! Replace It With This.

preview_player
Показать описание


Hello, everybody. I'm Nick, and in this video I will talk about the removal of Swagger in .NET 9 and I'll show you how you can deal with it in your codebase.

Don't forget to comment, like and subscribe :)

Social Media:

#csharp #dotnet
Рекомендации по теме
Комментарии
Автор

That's great, now I can say that the api is scalable :P

samuelschwager
Автор

Scalar is cool BUT it lacks some important features such as support for OAuth2 and authorization code flow for authentication

DotNetFun
Автор

When I upgrade to my project to .Net 9 I'm definitely going to checking out scalar... looks great! Thanks for the video 😃

vrmeup
Автор

The code generation feature is really similar with what is present in postman, in fact they seem to have made a "merge" between swagger and postman features

federicodibernardo
Автор

3:11 You should specify a relative path for the swagger endpoint, i.e. a path without leading slash.
An absolute path (with a leading slash) may break your swagger if the app is located behind a reverse proxy like nginx

andriiyustyk
Автор

I'd love to see a more in-depth on customization possibilities. You don't know what you don't know

SuperJB
Автор

Scalar looks awesome! Will defdefinitely try this out

PelFox
Автор

Absolutely would love to see a tutorial on Scaler

williameisenman
Автор

When running MapOpenApi in a container, the default server is localhost and the port is the internal port. You have to change the uri to / in the OpenApi config so that it works using the relative url

nocgod
Автор

Flurl support would be nice. It's my favorite C# http client implementation by far

gileee
Автор

I like this move to optionally add back in the UI portion. Although, it would have been nice to be a template option/switch to include it automagically

dsuess
Автор

Thanks for introducing the new brand Ui which is Scaler. it is better than the Swagger but has one problem which is seeing endpoint and models and properties of models are aside from each other

arminhabibi
Автор

Scalar UI is very promising + the code test also there

jouchiwinchester
Автор

I started disliking swagger when i integrated with other apis and they had this beautiful and powerful documentation and i had... well... swagger

DaminGamerMC
Автор

I used OpenAPI before I discovered swagger years ago. The only reason I liked it was to test submission of data. Scalar looks really good, the natural successor particularly with the dummy code

slipoch
Автор

I like the functionality of Scalar you showcased, but I like more the appearance of Swagger.

Sergio_Loureiro
Автор

Thank you SIR! I'm starting out as a .NET developer.I'm currently learning from my home PC.Which one would you recommend if I'm looking to get a Laptop or MacBook for work or study?
My friends who are already working as developers advised me to buy a MacBook 16/512 or buy a powerful laptop for the same money. What would you recommend? Will there be problems with the MacBook related to the .NET stack?

nouchance
Автор

you always have interesting videos. thanks!

smttz
Автор

Detailed video would be great. What about api documentation, like the attributes which give more info about specific endpoint like all possible http response codes and respective models?

kkalyan
Автор

They have introduced Endpoint explorer to test the apis and also it’s kinda same as rest client extension that was available in vs code but with limited features.

syedabiddin