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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 197

  • @samuelschwager
    @samuelschwager 2 หลายเดือนก่อน +77

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

    • @raviormetal1653
      @raviormetal1653 หลายเดือนก่อน +6

      Yes and your managers will actually give you a raise because its a word they've heared and think it is awesome and all...

    • @dotnetdevni
      @dotnetdevni 22 วันที่ผ่านมา

      Always was

  • @kostamadorsky
    @kostamadorsky 2 หลายเดือนก่อน +17

    I prefer using NSwag (it can serve UI with Swagger or ReDoc). The reason is that it can generate typescript or C# client code for you on build. So you never need to implement client code manually for your front end app and it always stays in sync with your API.

    • @Serhya
      @Serhya 2 หลายเดือนก่อน +1

      Lifechanger

    • @Eaglessoft
      @Eaglessoft 2 หลายเดือนก่อน +1

      The problem is no one how to use it. So swagger is bad now. 😂

    • @tyomios
      @tyomios หลายเดือนก่อน

      @@Eaglessoft Lol, what's the problem to google it?)

    • @Eaglessoft
      @Eaglessoft หลายเดือนก่อน

      @@tyomios not about google man. Auto gen typescript/javascript code from swagger

  • @vrmeup
    @vrmeup 2 หลายเดือนก่อน +7

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

  • @federicodibernardo2719
    @federicodibernardo2719 2 หลายเดือนก่อน +10

    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

  • @DotNetFun
    @DotNetFun 2 หลายเดือนก่อน +63

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

    • @guilhermesouza2681
      @guilhermesouza2681 2 หลายเดือนก่อน +16

      Basically impossible to replace swagger

    • @hj.0301
      @hj.0301 หลายเดือนก่อน

      wdym lack of support for OAuth2?
      a quick search on scalar documentation shows support for it.
      app.MapScalarApiReference(options =>
      {
      options
      .WithPreferredScheme("OAuth2") // Security scheme name from the OpenAPI document
      .WithOAuth2Authentication(oauth =>
      {
      oauth.ClientId = "your-client-id";
      oauth.Scopes = ["profile"];
      });
      });

    • @raviormetal1653
      @raviormetal1653 หลายเดือนก่อน +2

      Thank you for pointing that out!

  • @MichaelDrexler-u8n
    @MichaelDrexler-u8n 18 วันที่ผ่านมา

    Looks nice and I would also be interested in seeing an in-depth video about Scalar, regard authenitcation, authorization, with docker (loopback ip - switching from docker and webapp) and YARP etc

  • @andriiyustyk9378
    @andriiyustyk9378 2 หลายเดือนก่อน +11

    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

    • @dougfunk01
      @dougfunk01 หลายเดือนก่อน

      This actually doesn't work. if you don't star with a leading slash it'll assume swagger/yourpath

  • @PelFox
    @PelFox 2 หลายเดือนก่อน +5

    Scalar looks awesome! Will defdefinitely try this out

  • @VCIT-xo3fr
    @VCIT-xo3fr 11 วันที่ผ่านมา

    The built-in OpenAPI middleware does not show the exact broken endpoints, but Swagger does.
    In our case, the OpenAPI generation was broken. The built-in middleware only reported "Unsupported HTTP method" without specifying which endpoint caused the issue. However, Swagger clearly identified the problem: duplicated models (shows endpoints and specific models). After fixing this, both solutions worked fine.
    Due to the lack of helpful debugging information in the built-in middleware, I decided to stick with Swagger.

  • @nocgod
    @nocgod 2 หลายเดือนก่อน +4

    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

  • @SuperJB1981
    @SuperJB1981 2 หลายเดือนก่อน +6

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

  • @garethcairncross3269
    @garethcairncross3269 หลายเดือนก่อน

    I've implemented Scalar after watching this video and I gotta say: it's great! Especially for 3rd party vendors who will be using our API. The built-in code samples for various languages will make it very easy for our partners to integrate our API. I just need to figure out the Authentication side of Scalar.

    • @mattl7599
      @mattl7599 19 วันที่ผ่านมา

      Did you figure it out? We use JWT Bearer tokens and I have no idea how to set it up.

  • @bladbimer
    @bladbimer หลายเดือนก่อน

    Thanks for this interesting video, I like how scalar looks like postman

  • @arminhabibi149
    @arminhabibi149 2 หลายเดือนก่อน +6

    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

    • @scalar-com
      @scalar-com 2 หลายเดือนก่อน

      hey @arminhabibi149! do you mean how we have the models section in the sidebar below the list of tags/endpoints?

  • @Sergio_Loureiro
    @Sergio_Loureiro 2 หลายเดือนก่อน +3

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

    • @scalar-com
      @scalar-com 2 หลายเดือนก่อน +2

      hey @Sergio_Loureiro we actually have a "classic" layout, which is single column and has all the functionality of Scalar :)

  • @gileee
    @gileee 2 หลายเดือนก่อน +12

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

    • @KittFanNr1
      @KittFanNr1 2 หลายเดือนก่อน +1

      Didn't know that, it looks really nice - will use it in my future projects, thanks! :))

    • @SkrekkLich
      @SkrekkLich 2 หลายเดือนก่อน +1

      huh, neat use of string extensions, awkward to look at at first lol. Will check it out too, thanks :D

    • @gileee
      @gileee 2 หลายเดือนก่อน +1

      @@SkrekkLich You don't have to use the string extensions if you don't like. There are other ways to init a request and clean up the api for your liking.

    • @SkrekkLich
      @SkrekkLich 2 หลายเดือนก่อน

      @@gileee Yeah I saw that they also provide Url and Uri extensions but I find it kinda neat tbh. Was just weird at first seeing it this way.

  • @williameisenman5538
    @williameisenman5538 2 หลายเดือนก่อน +12

    Absolutely would love to see a tutorial on Scaler

  • @dsuess
    @dsuess 2 หลายเดือนก่อน +1

    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

  • @Cixelsyd32
    @Cixelsyd32 หลายเดือนก่อน

    I'd love to see a full demo of scalar. I have several projects that use swagger and have authentication built in for testing so seeing how to set that up would probably get me to make the switchover before i even move to .Net 9

  • @junior.santana
    @junior.santana 2 หลายเดือนก่อน +3

    Does the built-in openapi feature infer methods in controllers without the HttpMethod attribute and complex objects in parameters without the [FromBody]?

  • @slipoch6635
    @slipoch6635 2 หลายเดือนก่อน +1

    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

  • @DominikMoser
    @DominikMoser หลายเดือนก่อน +1

    Really cool. Thanks for sharing
    Btw. you forgot to mention it has dark mode /s 😁

    • @m4inline
      @m4inline 15 วันที่ผ่านมา +1

      Does it have dark mode?

    • @DominikMoser
      @DominikMoser 11 วันที่ผ่านมา

      @@m4inline It has dark mode

  • @jouchiwinchester2666
    @jouchiwinchester2666 2 หลายเดือนก่อน +2

    Scalar UI is very promising + the code test also there

  • @Cristian-ek7xy
    @Cristian-ek7xy 2 หลายเดือนก่อน +33

    Call me old-fashioned, but I still prefer Swagger :P

    • @nickchapsas
      @nickchapsas  2 หลายเดือนก่อน +24

      Old-fashioned!

    • @sanhomealex
      @sanhomealex 2 หลายเดือนก่อน +1

      Me too

    • @raul834
      @raul834 หลายเดือนก่อน +2

      I liked the idea of showing PUT, POST, … with different colors. Hopefully it can be done with this library. These UIs seem to be ‘designed’ by programmers and not UX experts.

  • @health_doc
    @health_doc 2 หลายเดือนก่อน +6

    We decorate in swagger single.sigon, locks for restricted api's, show api version and link to the api wiki and accept enums as strings. Can you do all this in the new stuff?

    • @blackpaw29
      @blackpaw29 2 หลายเดือนก่อน +5

      This. Really want to know if dotnet 9/Scalar supports integrated authentication with OAUTH2 and enum strings, kinda crucial for our workflow.

    • @scalar-com
      @scalar-com 2 หลายเดือนก่อน

      @@blackpaw29 @health_doc it sure does!

  • @sm3ttz
    @sm3ttz 2 หลายเดือนก่อน

    you always have interesting videos. thanks!

  • @Ayymoss
    @Ayymoss 2 หลายเดือนก่อน +24

    Oh damn, Scaler is sick!

  • @oussama7132
    @oussama7132 2 หลายเดือนก่อน +4

    Can you make a vid about Kiota? I have a shared project but i cant figure out how to prevent it from regenerating the files and making copies

  • @DaminGamerMC
    @DaminGamerMC 2 หลายเดือนก่อน +7

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

    • @7th_CAV_Trooper
      @7th_CAV_Trooper 2 หลายเดือนก่อน +2

      Swagger supports rich documentation.

  • @colhountech
    @colhountech หลายเดือนก่อน

    Good video Nick 👍

  • @nuriaktas9317
    @nuriaktas9317 18 วันที่ผ่านมา

    hi nick. Is there a pkce authentication flow support like swagger in scalar.

  • @liam7073
    @liam7073 2 หลายเดือนก่อน +1

    The GET which requires no input is fine but how does the test request work when you have specific required inputs like needing a valid user id or valid auth token?

  • @igorvlebedevnot
    @igorvlebedevnot 2 หลายเดือนก่อน +1

    Interesting, but how to combine many modules on one page? If I use 5 or 6 modules with this documentation and want to present it to clients on one page

  • @sirdev
    @sirdev 2 หลายเดือนก่อน

    Where is the code it's not in the description?

  • @zwatotem
    @zwatotem หลายเดือนก่อน +1

    Can I just point my Postman (or other client) to the openapi endpoint and automatically populate a workspace for my API, or is that not a feature? If it was, UIs like this wouldn't really be necessary.

  • @daudulislam156
    @daudulislam156 2 หลายเดือนก่อน

    Great Nick! Thank you!!

  • @standleypeter545
    @standleypeter545 หลายเดือนก่อน

    How about the api versioning?

  • @davidpccode
    @davidpccode 2 หลายเดือนก่อน +3

    Hi Nick. Can I use it for Production? Or is it only for dev environment

    • @hj.0301
      @hj.0301 หลายเดือนก่อน

      yes you can, but it's usually not recommended to
      just remove the environment block as shown in Nick's demo, or .. specifically target for Production if that's what you want.

    • @davidpccode
      @davidpccode หลายเดือนก่อน

      @hj.0301 hi tks. Why is it not for producción ?

    • @hj.0301
      @hj.0301 หลายเดือนก่อน

      @@davidpccode coz you'll be exposing all your APIs

  • @Kelaran
    @Kelaran 2 หลายเดือนก่อน

    Will it fix generation openapi doc with nested classes which wasn’t completely perfect according to specifications. I mean generating namespaces with [] ‘ etc .

  • @the_arch
    @the_arch 2 หลายเดือนก่อน +1

    I have implemented some custom Filters for Swagger. Do they need to be migrated, or will they plug and play?

  • @blackpaw29
    @blackpaw29 2 หลายเดือนก่อน +1

    Interesting.
    Whats happening with client code generation? I currently use Connected services to auto gen c# wrappers, under the hood it uses nswag. Is that being replaced with similar functionality?
    Also, how about enum types? swagger can generate named enums rather than integer ranges.

    • @SulexaPerso
      @SulexaPerso 2 หลายเดือนก่อน +1

      The json that is generated in dotnet 9 will be openapi 3.0 format like today the one generated by swagger, NSWAG only use the json to generate code, so it should work the same even without needing the UI

    • @blackpaw29
      @blackpaw29 2 หลายเดือนก่อน +1

      @@SulexaPerso Thanks, thats good to know. Be interesting to see if MS plan on implementing their own version of nswag.

  • @dimitro.cardellini
    @dimitro.cardellini 2 หลายเดือนก่อน +1

    I see one Huge problem!!!
    The contract first approach doesn't work here.
    To develop a web API we need to create a schema first, then we can use this schema to generate the server side controllers, that check incoming requests and outgoing responses against the schema, then we need to inject our business logic into the controllers and finally the implementation compatibility must be checked in the dev and compile time with a static types.
    Shown in the video approach is not for serious project - you can break your api and get aware of that iafter release n production when your client fails on handling the response.

  • @mohammadramezani1233
    @mohammadramezani1233 หลายเดือนก่อน

    thats Great But How About Swagger Authentication ? scalar have it?

  • @k2kalyan
    @k2kalyan 2 หลายเดือนก่อน

    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?

  • @VytautasLL
    @VytautasLL 2 หลายเดือนก่อน

    Does Scalar includes data annotations from models? In swagger I could make example requests, etc.

    • @scalar-com
      @scalar-com 2 หลายเดือนก่อน +1

      yes we do support that!

  • @mdrzazga
    @mdrzazga 2 หลายเดือนก่อน +1

    Thanks for all your great content Nick!

  • @tiabeaniecazier6843
    @tiabeaniecazier6843 2 หลายเดือนก่อน +1

    Would definitely love an in-depth video on open-api and scaler, or maybe even a short free dometrain course

  • @CLeovison
    @CLeovison 2 หลายเดือนก่อน

    Hi Nick,
    I don't know if you will answer me but, may i know what is the meaning of the repository folder in your minimal api in github? Sorry i was just new to c#.
    Thank you so much

  • @meowzhin
    @meowzhin 2 หลายเดือนก่อน +1

    Doesn't scalar lacks a lot of features though? I don't like Swagger either and I usually just use the json generated in a postman collection anyway. Swagger is old but absolutely reliable and extremely configurable. Changing from gold to copper doesn't look like a good choice to me. It has potential but yeah... still not there.

  • @sco9114
    @sco9114 2 หลายเดือนก่อน

    Looks cool !

  • @jamesmorgan571
    @jamesmorgan571 2 หลายเดือนก่อน

    We can use Scalar on previous .NET versions right?

    • @scalar-com
      @scalar-com 2 หลายเดือนก่อน

      yes :)

  • @JensDueOhlsen
    @JensDueOhlsen 2 หลายเดือนก่อน

    Great video ... again

  • @criminalsympathy6013
    @criminalsympathy6013 2 หลายเดือนก่อน

    Does this work well with an Ocelot API Gateway?

  • @jaricardodev
    @jaricardodev 2 หลายเดือนก่อน

    Awesome, thanks

  • @syedabiddin1550
    @syedabiddin1550 2 หลายเดือนก่อน

    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.

  • @jadejahardisinh
    @jadejahardisinh 2 หลายเดือนก่อน +3

    Hi Nick, It will be really appriciated if you create detailed video on the new Scalar UI instead of Swagger

  • @ravi3592
    @ravi3592 22 วันที่ผ่านมา

    I can't see Authorization drop-down in scalar ui

  • @roman.koliada
    @roman.koliada 2 หลายเดือนก่อน +1

    Does it support bearer token authorization like swagger does?

  • @PatrickMageez
    @PatrickMageez 2 หลายเดือนก่อน +1

    can we pull this into .net 8 projects?

    • @nickchapsas
      @nickchapsas  2 หลายเดือนก่อน

      Sure you can!

  • @tridy7893
    @tridy7893 2 หลายเดือนก่อน

    The scalar produced part says "DemoAPI | v1".
    While `DemoApi` is taken from the AssemblyName of the project, I have not found where the `v1` is coming from and where to change it.
    Any ideas?

    • @jorgequirino8536
      @jorgequirino8536 2 หลายเดือนก่อน +1

      From DocumentName, as default it's "v1"

    • @tridy7893
      @tridy7893 2 หลายเดือนก่อน

      @@jorgequirino8536 could you explain more? where is this DocumentName and v1 ?

  • @sergi686
    @sergi686 2 หลายเดือนก่อน

    Someone knows any tool or how use the swagger to add event information?

  • @alehkhantsevich113
    @alehkhantsevich113 2 หลายเดือนก่อน +5

    I don't like it. Swagger has UI part that allows you to switch versions from UI, with that lib you have to type it in URL...

    • @JollyGiant19
      @JollyGiant19 2 หลายเดือนก่อน +1

      We can choose any UI to implement now, there wasn’t anything special about the built in Swagger stuff

    • @alehkhantsevich113
      @alehkhantsevich113 2 หลายเดือนก่อน

      @@JollyGiant19 I meant that I like that MS added openAPI. But I don't like scalar and still prefer SwaggerUI

  • @Wfmike
    @Wfmike 2 หลายเดือนก่อน +1

    Client codegen wise Kiota is also an option.

    • @Kirides
      @Kirides 2 หลายเดือนก่อน

      Though I must say, kiota APIs are not the best regarding ergonomics... Refit usually feels more "native" than kiota API call builder-dictionary-parameter-bags

    • @Wfmike
      @Wfmike 2 หลายเดือนก่อน

      @@Kirides that's probably because refit only generates c# client

  • @ivanz6368
    @ivanz6368 21 วันที่ผ่านมา

    We just ported everything to NET8 and it will remain like that at least 10 years. Everyone in company is sick to "reinvent" everything on monthly basis 😉

    • @RomvnlyPlays
      @RomvnlyPlays 11 วันที่ผ่านมา

      You haven’t seen reinvention until you’ve seen the JavaScript ecosystem. This is a especially minor change

  • @lemoncrazedcamel
    @lemoncrazedcamel 2 หลายเดือนก่อน

    I tried to use scalar a few months ago. but the lack PKCE auth workflow made it unusable for my case :( I wish I could use it because I like it way more than swagger

    • @scalar-com
      @scalar-com 2 หลายเดือนก่อน +2

      hi @lemoncrazedcamel! we did a revamp on our auth, and are looking into adding PKCE auth workflow next :)

  • @anoftc
    @anoftc 2 หลายเดือนก่อน

    SwaggerUI or Scalar, the test ui is not so relevant. Sure, the featutes can be improved which are nice for testing; but the important stuff in openAPI is the service descriptor json.
    The openAPI json can be used to generate a client proxy! You can have a fully functional, typesafe client proxy with three clicks or a single cmdline. This proxy class has typed methods for all api endpoints; hiding the implementation details...
    Essentially the clientside code is 98% the same for corewcf / grpc / rest api serversides; as they all support very similar clientside proxy autogeneration...

  • @jaysenossai7165
    @jaysenossai7165 หลายเดือนก่อน

    Scalar is the future, Swagger is now.

  • @Kingside88
    @Kingside88 2 หลายเดือนก่อน

    Don't know about Scaler but its looks so amazing. Thank you Nick

  • @fritzfahrmann4730
    @fritzfahrmann4730 2 หลายเดือนก่อน

    is it free? does not look like it but no pricing found either

    • @nickchapsas
      @nickchapsas  2 หลายเดือนก่อน

      It’s free

  • @keyser456
    @keyser456 2 หลายเดือนก่อน +4

    How many public facing APIs are there that have clients or would-be clients that don't know how to consume APIs already? Are they really going to learn to code against your API by reading the client-code examples exposed here?

  • @stassss2011
    @stassss2011 2 หลายเดือนก่อน +3

    Uncredible video, thank you, Nick! I always wondered why swagger defaults are just not good enough for 2024

    • @mostrealtutu
      @mostrealtutu 2 หลายเดือนก่อน +3

      lol, what has 2024 to do with that. smh.

    • @stassss2011
      @stassss2011 2 หลายเดือนก่อน

      @@mostrealtutu it just feels outdated, idk. I mean the design

    • @mostrealtutu
      @mostrealtutu 2 หลายเดือนก่อน

      @@stassss2011 hehe ok, ill allow that :)

    • @sanhomealex
      @sanhomealex 2 หลายเดือนก่อน

      ​@@stassss2011 what about MS SQL Server Management Studio's or MS Visual Studio's designs?
      Aren't they outdated as well?
      IMHO they are!

  • @reikooters
    @reikooters 2 หลายเดือนก่อน +2

    Thought I was the only one that didn't like Swagger. This looks fun to try out. You've done it again, thanks Nick.

  • @gugarukhadze2990
    @gugarukhadze2990 2 หลายเดือนก่อน +1

    Very good! ❤

  • @darhaniztleu4956
    @darhaniztleu4956 2 หลายเดือนก่อน

    Now it doesn't work for him to "insert" an example of a request into the "body" 😢

  • @eight-bitz
    @eight-bitz 2 หลายเดือนก่อน

    ReDoc is ok too as ui

  • @danhartley2136
    @danhartley2136 2 หลายเดือนก่อน

    Very cool! But why does everyone like dark mode so much? I cant stand it. When I use dark mode after a while and look away from my monitor, or navigate to a website with a lighter theme, my eyes get all screwy and take a while to adjust. It's almost headache inducing. I've never understood why people like it.

  • @nahiandev
    @nahiandev 13 วันที่ผ่านมา

    I prefer Scalar.

  • @amitkumdixit
    @amitkumdixit 2 หลายเดือนก่อน

    Spotlight

  • @gergesbernaba2922
    @gergesbernaba2922 2 หลายเดือนก่อน

    That's great

  • @MaheshKumar-bg5re
    @MaheshKumar-bg5re 24 วันที่ผ่านมา

    Are you using visual studio 2022? For mac, what should i use?

  • @Suriprofz
    @Suriprofz หลายเดือนก่อน

    Shiny object syndrom

  • @michelnunes4421
    @michelnunes4421 2 หลายเดือนก่อน

    I really like swagger. As someone who does a lot of integration apps, I see a huge difference between having swagger doc to work with and having ... something else

  • @I-PixALbI4-I
    @I-PixALbI4-I 2 หลายเดือนก่อน +5

    OpenAPI...MinimalAPI...
    Leave me with my OLD looking C# )

  • @nouchance
    @nouchance 2 หลายเดือนก่อน

    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?

  • @kylekeenan3485
    @kylekeenan3485 2 หลายเดือนก่อน

    I like my swagger!

  • @NickAskew
    @NickAskew 2 หลายเดือนก่อน

    Is Scalar also available pre .net 9?

    • @JustinLampe
      @JustinLampe 2 หลายเดือนก่อน +1

      Yes, for .NET 8 as well!

  • @antonmartyniuk
    @antonmartyniuk 2 หลายเดือนก่อน +7

    I will personally use HTTP Request Files in Rider and Postman

    • @fusedqyou
      @fusedqyou 2 หลายเดือนก่อน +5

      This is not the same. The .http files are manually crafted for development and should not be publicly shared. They also do not work outside of VS.

    • @KazLA
      @KazLA 2 หลายเดือนก่อน +7

      How would you share that with QA and product managers ?

    • @antonmartyniuk
      @antonmartyniuk 2 หลายเดือนก่อน

      @fusedqyou Swagger is not a best option for public share and swagger is disabled in production.
      I am using HTTP request files only for development purposes without sharing API to the outside world.
      Http request files are fantastic to share across the team. With swagger you close the webpage and your typed requests are gone.
      They work in VS, VS Code and in Rider​@@fusedqyou

    • @johnnyblue4799
      @johnnyblue4799 2 หลายเดือนก่อน

      @@KazLA QA? Is that still a thing? I thought QA is obsolete...

    • @JollyGiant19
      @JollyGiant19 2 หลายเดือนก่อน +1

      @@johnnyblue4799 Only at the myopic companies

  • @TheoTech-x1v
    @TheoTech-x1v 2 หลายเดือนก่อน

    Is he really using intellij for dotnet

    • @nickchapsas
      @nickchapsas  2 หลายเดือนก่อน +2

      It's called Rider

  • @heischono4917
    @heischono4917 2 หลายเดือนก่อน

    Thanks! Good video, nice thing. Is it possible to implement this solution already in .NET8? If yes, is there something to note?

    • @nickchapsas
      @nickchapsas  2 หลายเดือนก่อน +2

      You can totally use it in .NET 8

  • @junior.santana
    @junior.santana 2 หลายเดือนก่อน

    Scalar looks neat!! Swagger UI is really outdated, the lack of a side menu baffles me.
    However... Isn't Scala a paid product?

  • @rafazieba9982
    @rafazieba9982 2 หลายเดือนก่อน +1

    3.0.1 not 3.1.0 ????? Really?????

    • @havendv
      @havendv 2 หลายเดือนก่อน

      Microsoft.OpenAPI just does not support it yet

  • @FabioGalanteMans
    @FabioGalanteMans 2 หลายเดือนก่อน

    Try use basepath. Don't working correctly

  • @zfold4702
    @zfold4702 2 หลายเดือนก่อน

    Does anyone sue Microsoft for stealing other people's ideas?

  • @dotnetdevni
    @dotnetdevni 22 วันที่ผ่านมา

    Typical but they need build a first citizen ui

  • @VahidCheshmy
    @VahidCheshmy 2 หลายเดือนก่อน +9

    Hi Nick,
    Swagger currently has around 594 million downloads, while Scalar has approximately 16.5K.
    The purpose of using both Swagger and Scalar is essentially the same, both are tools for API design and documentation. However, it is important to note that neither of them is recommended for use in production environments, as you previously mentioned.
    Given this, I don’t see any significant differences between these two tools in terms of practical use, I still don't get it why Scalar would be better than Swagger.
    Maybe you would elaborate!
    Thanks

    • @nickchapsas
      @nickchapsas  2 หลายเดือนก่อน +14

      Hi Vahid,
      .NET Framework has 4B downloads, .NET Core has 100M.
      Nick

    • @sanhomealex
      @sanhomealex 2 หลายเดือนก่อน

      So @nickchapsas, you mean to wait for some time while Scalar will be mature enough and then use it?😀

    • @VindicatorMorty
      @VindicatorMorty 2 หลายเดือนก่อน

      Could you elaborate on what someone should use in a production environment?

    • @EikeSchwass
      @EikeSchwass 2 หลายเดือนก่อน

      @@VindicatorMorty neither. In production you shouldn't need an API explorer. If you must execute requests manually copy paste a curl for example from one of you test stages

    • @VindicatorMorty
      @VindicatorMorty 2 หลายเดือนก่อน

      ​@@EikeSchwass okay i get it, should not be directly executable. Thats why read only is mentioned. But using swagger/scalar as documentation is still okay and useful? Was wondering about that point.

  • @zimcoder
    @zimcoder หลายเดือนก่อน

    Ummm... it's nice but I don't see a lot of value yet

  • @williamliu8985
    @williamliu8985 2 หลายเดือนก่อน

    M$ might provide an option for users to switch the debug UI instead of removing such a familiar tool that has been used for many years.

    • @JollyGiant19
      @JollyGiant19 2 หลายเดือนก่อน +1

      We can use any of them we want, you don’t have to use the default one Swagger gave us.

  • @curtis6919
    @curtis6919 2 หลายเดือนก่อน +6

    BYE SWAGGER

  • @LarsWorkShop
    @LarsWorkShop หลายเดือนก่อน

    I have never seen the need for Swagger. If you write your code correct it is not needed.

  • @rjk0128
    @rjk0128 2 หลายเดือนก่อน

    "Microsoft App", "OpenApi", who at microsoft is naming these??? for the love of all that is C# , STOP