React ASP.NET Core Minimal APIs Tutorial (Small CRUD App)

Поділитися
Вставка
  • Опубліковано 10 вер 2024

КОМЕНТАРІ • 68

  • @RubenHeerenDev
    @RubenHeerenDev  2 роки тому +7

    Join the Discord community to chat with other devs and get help if you're stuck on something.
    discord.gg/dcvmDnegsn

  • @jameshalstead6742
    @jameshalstead6742 2 роки тому +8

    I'm trying to teach myself dotnet. This is the first tutorial I've watched and while it took me 3x's longer than the video to follow along, I already feel pretty confident. I thought I was pretty decent with React/Node but you taught me some stuff in React I haven't done. I think it's time I start watching more advanced React tutorials... Awesome video and thank you for your time!

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому

      Very glad to hear that James. We all have to keep coding and grow. Thanks for the compliments and good luck!

  • @jasonma1904
    @jasonma1904 2 роки тому +6

    Awesome tutorial. Especially the integration part of front end, back end and Azure.

  • @DLouis-ik5jx
    @DLouis-ik5jx 2 роки тому +2

    Thanks a lot Ruben, very awesome demo of covering ASP.NET6 C#/React/Node.js/Web API/CRUD+Azure/gitHub/CICD in step by step!

  • @jamestreadway8406
    @jamestreadway8406 2 роки тому +2

    Dude your awesome and to the point no bs kind of teacher. Keep going!

  • @jercyshore
    @jercyshore 2 роки тому +6

    watched at 1.5 speed :D

  • @andrewbenson1837
    @andrewbenson1837 2 роки тому +3

    Loved this tutorial, learned loads especially not knowing any React/JS before hand. Thank you Ruben
    My one feedback would be to structure the tutorial so it's a bit more incremental, as we were doing all the scripting upfront before testing anything was working. So for example, get the create form showing, demo, then do a button, demo, that kind of thing.
    The tutorial was exactly what I was looking for, all the best.

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +1

      Thanks Andrew, I appreciate your compliments. And thanks for the feedback, I've considered doing that and will definitely keep it in mind for future videos.

  • @ryandeering4249
    @ryandeering4249 2 роки тому +2

    Excellent video for familiarizing myself with the mini APIs. Hope to see more tutorials from you, you've got a knack for it.

  • @PsytekkLala
    @PsytekkLala 2 роки тому +1

    Clap clap clap. Nice work! A tutorial from the beginning to the publishing. Very Nice!

  • @junioranheu
    @junioranheu 2 роки тому +3

    Thank you so much for this tut, much appreciated, Ruben!

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +1

      Thanks! You're welcome :)

    • @junioranheu
      @junioranheu 2 роки тому +1

      @@RubenHeerenDev you're a great teacher. Keep up with that amazing work. Btw I laughed at 2:06:50 haha

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому

      @@junioranheu Thanks!! Yeah mistakes happen, sometimes I leave them in :')

  • @theav.1313
    @theav.1313 2 роки тому +1

    I wish the screen was on presentation mode. Too small. Great content regardless!

  • @Ty1er
    @Ty1er Рік тому +1

    This explanation is just super ♥️ ♥️♥️

  • @BigBrainHacks
    @BigBrainHacks Рік тому +2

    Lekker man!

  • @StarsManny
    @StarsManny 2 роки тому +4

    Nice tutorial, much appreciated!

  • @user-so4zn9yk9c
    @user-so4zn9yk9c 2 роки тому +1

    Thank you for video. Your explanation is perfect

  • @DENDYTWOO
    @DENDYTWOO 2 роки тому +1

    I like it very much. Thanks for this great tutorial, ive learned a lot

  • @alimkugotov7193
    @alimkugotov7193 2 роки тому +1

    thank you, great explanation :)

  • @tech-savant
    @tech-savant 2 роки тому +2

    when i create post, it doesn't get added to the list instantly, only after clicking get posts from server again...

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +1

      Not sure how to fix that. I think React should automatically re render it when that list data changes. In Blazor in these scenarios I'd call StateHasChanged(). Try looking into how to re render when data changes in React.
      Hope this somewhat helps.
      - Ruben

  • @nines9869
    @nines9869 2 роки тому +2

    Thank you, sir

  • @adnanrruka5152
    @adnanrruka5152 Рік тому +1

    Cool stuff!

  • @0x6c6d
    @0x6c6d Рік тому +1

    realy nice tutorial

  • @jimmyopot1972
    @jimmyopot1972 2 роки тому +2

    As much as I appreciate this video for learning both dotnet and react, I wish it was more legible...Honestly, very amateur videos will get more views because the code can be clearly seen. But thanks, learning a lot.

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +1

      Thanks for the feedback Jimmy. Others have pointed this out as well and it's definitely on my improvement list.

    • @deposedie8657
      @deposedie8657 2 роки тому

      @@RubenHeerenDev Please re-upload this video where code can be seen.

    • @patrickhastings3733
      @patrickhastings3733 Рік тому +1

      just toggle settings quality to 1080p and its clear as can be

  • @DevEmpower
    @DevEmpower 2 роки тому

    A great tutorial, thanks

  • @indrastikom3776
    @indrastikom3776 Рік тому

    thank you so much mr

  • @aaronnolan5377
    @aaronnolan5377 2 роки тому +2

    You had to set up CORS on the server. I have a question for when we are working one smaller projects. Is it possible to combine the react client and backend in the same directory/repo so that they are under the same domain? This would allow for only one server and no need to configure CORS.

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +1

      Then I'd look into React server rendered, similar to what Blazor Server is doing.
      Traversy Media has good tutorials on React, seems like this one is for React server rendered:
      ua-cam.com/video/IkOVe40Sy0U/v-deo.html

  • @piggg98765
    @piggg98765 2 роки тому +1

    The best

  • @Cursix
    @Cursix 2 роки тому +1

    i have a question why do most people host react in visual code and the asp.net in visual studio ? is it because of bugs?

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +1

      It's preference. In the wild you'll mostly see JavaScript devs use VScode and .NET devs use Visual Studio.

  • @juandsaereo9903
    @juandsaereo9903 Рік тому

    Hola bro, me aparece el siguiente error para hacer la migración:
    No se pudo ejecutar porque no se encontró el comando o el archivo especificado.
    Algunas de las posibles causas son :
    * Escribió mal un comando dotnet integrado.
    * Pretendía ejecutar un programa .NET, pero dotnet-ef no existe.
    * Pretendía ejecutar una herramienta global, pero no se encontró ningún ejecutable con prefijo dotnet con este nombre en PATH.

  • @piggg98765
    @piggg98765 Рік тому

    Hi Ruben, I was trying to do windows authentication, I added to the fetch call credentials:"include" , [Authorize] in the controller, app.useAuth and app.useAuthintication along with .allowCredentials() in Program.cs, however I get a 400 error, do you know what I am missing or point me in the right direction. Thank you so much

    • @RubenHeerenDev
      @RubenHeerenDev  Рік тому

      Sorry Vikram I'm not 100% sure how to use ASP.NET authentication together with React.
      Maybe this post will help you:
      jasonwatmore.com/react-18-authentication-with-net-6-aspnet-core-jwt-api

  • @xxxxxxxxxxxxxxxxk
    @xxxxxxxxxxxxxxxxk Рік тому +1

    1000 THX from Morocco,

  • @d03smith
    @d03smith 2 роки тому +2

    Thank you for the lesson. Hard to find Core 6 info out there right now. I have a random question. What extension are you using to show what arguments that are needed in gray? Not the Codelense reference lines but where it tells you that the argument needed is a ConnectionString. Keep up the good work!

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому

      Thanks Dorsey! You can find that in:
      Visual Studio northern menu -> Tools -> Options -> Text Editor -> C# -> Advanced -> Scroll all the way down and look 4 checkboxes up -> Check "Display inline parameter name hints". I also checked all the sub boxes of that.

  • @merrylane2236
    @merrylane2236 2 роки тому +1

    Thanks for the tutorial. It is very informative. I'm just starting out with React. Is there a reason why you prefer to use functions such as App(), PostCreateForm() instead of classes (components) that inherit from React.Component? Is that because you are not using JSX files or are you still using JSX when you return() a bunch of html?

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +1

      Thanks! I prefer functions because to me they are easier to read. We are still using JSX in the video. JSX is just a special 'flavor' of JavaScript that looks like HTML. It isn't really HTML that's why it gets return()ed.
      The React docs 'Introducing JSX' entry helped me better understand JSX:
      reactjs.org/docs/introducing-jsx.html
      Hope this helps!
      - Ruben

  • @firemanhood1526
    @firemanhood1526 2 роки тому +1

    have you watched your lesson? even on a laptop it is impossible to look at this font size.
    Anyway, thanks for the lesson. It will be great if you pay attention to this detail.

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +1

      Thanks for your feedback! I'm zooming in on newer tutorials.

  • @zawtunit
    @zawtunit 7 місяців тому

    Hi i got error sqlite is not available

  • @tenebrae1191
    @tenebrae1191 Рік тому

    👏

  • @ronaldv43
    @ronaldv43 2 роки тому +1

    May i know how much are you paying for this Azure subscription?

  • @RubenHeerenDev
    @RubenHeerenDev  2 роки тому

    Now with subtitles!

  • @softwreact1224
    @softwreact1224 Рік тому +1

    👏🤝✍🤝👏

  • @mirzaadnanbaig1977
    @mirzaadnanbaig1977 2 роки тому +1

    Cannot see the code, video is too blurry

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому

      Thanks for the feedback!

    • @merrylane2236
      @merrylane2236 2 роки тому

      Change the playback resolution (gear icon). If you set it to 1080p, the code is very clear.

  • @Zicru
    @Zicru 2 роки тому

    This is horrible. This is not how the real world apps are going to look like. MapGet in Program.cs? Wth? Why are you doing this?

    • @RubenHeerenDev
      @RubenHeerenDev  2 роки тому +2

      I don't consider it horrible. It's a nice little quick overview to get going with ASP.NET and React. More aimed towards newcomers that want to get their feet wet. If I do everything like in the real world the video would be too long.

    • @ZukoTheShinigami
      @ZukoTheShinigami Рік тому +1

      Lol, someone is triggered

  • @Ty1er
    @Ty1er Рік тому