Building a Web API in .NET 6 | Minimal API

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 13

  • @vandall9
    @vandall9 2 года назад

    Perfect, just what i needed xD

  • @pointandshootvideo
    @pointandshootvideo 2 года назад

    Nice! The service implementation is much cleaner than putting all the code in program.cs. Thank you!

    • @CodeWithJulian
      @CodeWithJulian  2 года назад

      Exactly, thanks! Happy you've enjoyed it!

  • @obinnaokafor6252
    @obinnaokafor6252 3 года назад

    Excellent video. Thank you.

  • @alan-
    @alan- 3 года назад

    Nice channel, good tutorials..... the channel should grow quickly!

  • @atonakis3404
    @atonakis3404 2 года назад

    Thanks for the video! I have a question. When we post a json from postman, where are these data stored? I published the api to iis but I see not changes to the website folder when I post a new json.

  • @alan-
    @alan- 3 года назад

    Can I ask, when you're setting up the endpoints in program.cs, what's the reasoning for declaring the results of the service calls as vars rather than as what the interface defines them as (coffee/coffee?/list/bool) ? Is it something to do with inversion of control??
    Thanks

    • @alan-
      @alan- 3 года назад

      edit... I guess it must be because the result could come back as null, and having it as a var must be easier than setting up as a nullable ("?"). Sorry, I'm a bit new at c#.

  • @sylinxstark3882
    @sylinxstark3882 3 года назад

    I am really happy to find you. I was looking for a guide to improve and better understand to code with blazor and .Net. Also i have a question about some specific topic. Its about google maps with signalR. I want to develop a navigation application. Database provides real time coordinates(i'll try to simulate this) and i show the location of person and route of the way the person wants to reach. I don't want to show the estimated time etc. But i couldn't find resource and package for this kind of map support. Do you know any package for my question. Thank you for all content you created for youtube and your answer.

  • @Spirittism
    @Spirittism 2 года назад

    mine opens swagger

    • @CodeWithJulian
      @CodeWithJulian  2 года назад

      Have you tried cloning the source code and comparing?