React JS + .NET Core Web API + Microsoft SQL | full stack app tutorial

Поделиться
HTML-код
  • Опубликовано: 10 июл 2021
  • Code and Github link: art-of-engineer.blogspot.com/...
    Related Tutorials:
    --------------------
    React JS + Python Django + SQLite full-stack app
    • React JS + Python Djan...
    --------------------
    React JS + .NET Core Web API + Microsoft SQL full stack app
    • React JS + .NET Core W...
    --------------------
    .NET Core API + Vue JS + Microsoft SQL full-stack web app
    • .NET Core API + Vue JS...
    --------------------
    ASP .NET Core Web API + Microsoft SQL CRUD APIs
    • ASP .NET Core Web API ...
    --------------------
    ASP .Net Core Web API + MySQL | CRUD APIs Tutorial
    • ASP .Net Core Web API ...
    --------------------
    .NET Core Web API + PostgreSQL | CRUD APIs
    • .NET Core Web API + Po...
    --------------------
    .Net Core Web API + MongoDB CRUD APIs
    • .Net Core Web API + Mo...
    --------------------
    Python Django + SQLite | REST APIs
    • Python Django + SQLite...
    --------------------
    Python Django + PostgreSQL | REST API Tutorial
    • Python Django + Postgr...
    --------------------
    Python Django + MySQL CRUD API Tutorial
    • Python Django + MySQL ...
    --------------------
    Python Django + MongoDB CRUD API Tutorial
    • Python Django + MongoD...
    --------------------
    Python Django + Microsoft SQL Server CRUD API Tutorial
    • Python Django + Micros...
    --------------------
    Hello every one, In this tutorial, you will learn to create a full stack web application from scratch using Microsoft SQL server for the database, .NET Core Web API for the backend, and React JS for the front end.
    We will first start with creating the necessary tables in Microsoft SQL server, then create the Web API project with the required rest API end points. Finally we will use React JS for creating the front end.
    -You will learn how to add routing for our app.
    -Create bootstrap table with custom sorting and filtering capabilities.
    -Add modal pop up windows with drop downs and date pickers.
    -We will also learn how to upload an image and store it in the backend server.

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

  • @MSSoftwareGuru
    @MSSoftwareGuru Год назад +42

    I cannot tell you how many tutorials I have started and abandoned! This one was absolutely amazing, though, and I got successfully to the end. I really appreciate you making this. May you live to be 1,000 years old!!!

    • @philandreitan704
      @philandreitan704 Год назад

      hi, im trying to recreate this too, were you using the same version of asp.net core or are you using ver 6?

    • @nandunigamage8057
      @nandunigamage8057 Год назад

      @@philandreitan704 hey I want to know that too 🥺

    • @taylorbrown5134
      @taylorbrown5134 4 месяца назад +1

      He's a robot, so I think he can potentially live for 1000's of years if kept well oiled.

  • @ballsballs4011
    @ballsballs4011 Год назад +18

    Huge thanks! This guide really helped me a lot in starting out.
    In case it might help others, As of May 2023, I did the following changes:
    * Used NET 5.0 to follow along with the backend
    * Used instead of , so the updated routes would look like ""
    * I couldn't get Modals to work at all, so I used React's instead (might need to npm install react-bootstrap bootstrap). BTW I'm using React 18.2.0

    • @amarshsingh7984
      @amarshsingh7984 Год назад

      Hello can you please tell me where to make changes for the modal thing

    • @sachintimsina5671
      @sachintimsina5671 9 месяцев назад

      hey thanks for the info

  • @vimaladevi7781
    @vimaladevi7781 Год назад

    Am a beginners after watching your videos I got some ideas. Thanks for your detail explaination.

  • @johnherrera5913
    @johnherrera5913 2 года назад +3

    Master! Amazing like always.
    Thanks for the richest content you provide to the community.

  • @Proviper666
    @Proviper666 Год назад +5

    if around 18:30 something goes wrong then ...
    try stackoverflow soluton:
    "Check if your connection string has "Trusted_Connection=true" added."

  • @gaurig8084
    @gaurig8084 4 месяца назад

    What an amazing tutorial! You are a savior!!! Thank You

  • @lovespeed143
    @lovespeed143 Год назад

    Thank You for the tutorial still worth it in 2022.

  • @johnkumar958
    @johnkumar958 7 месяцев назад

    Very nice. Very Good. Short ,quick explaining basic ideas.

  • @nguyenheaven8627
    @nguyenheaven8627 Год назад +6

    This is really amazing tutorial! Thank you so much for your guiding, it helps me a lot to understand workflow between front-back-data.

  • @WristGameShardee
    @WristGameShardee 6 месяцев назад

    I always come back to this one for the lesson, I need a query, a table, a connection and a reader. thanks.

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

    Thanks! That's great lecture.

  • @user-jd6cn4wr9c
    @user-jd6cn4wr9c 2 года назад +24

    If anybody has problems with requirin Switch from react-router-dom, it is because of in the next React update Switch was changed to Routes, change it. And also, in Route you should rewrite from
    to

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

    DUDE...THANK YOU!

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

    You are amazing!

  • @everforexcanada5663
    @everforexcanada5663 Год назад

    great Vid! thanks!

  • @zeynebvural5974
    @zeynebvural5974 Год назад

    Awesome🎉

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

    Thank you so much.

  • @fikretakbass
    @fikretakbass Год назад

    May God bless you bro ♥

  • @surmusic15
    @surmusic15 Год назад +1

    The best one

  • @Tuyenrc
    @Tuyenrc 2 года назад +15

    Thank you for such great content! Could you do a tutorial on version control and hosting for this kind of project?

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

    Excellent tutorial AND you provided the code for free. I subscribe for that :)

  • @2005Azm
    @2005Azm 3 года назад

    Wonderful ! Thank you for teaching us !

  • @kathirangamuthu3574
    @kathirangamuthu3574 Год назад

    Thank you

  • @hoangheo2505
    @hoangheo2505 11 дней назад

    thanks tutorial

  • @usz1444
    @usz1444 2 года назад +1

    hi. how to fix such problem? project seems working properly. i have database connection and all functionality but it looks like css and html doesn't work. i have only plain text and links + images. no errors and warnings in console
    edit: sorry, i didnt copied changes from index html with bootstrap. lmao.
    thank you dude u saved my life

  • @hasanzubairi9562
    @hasanzubairi9562 6 месяцев назад

    Really good tutorial. Can you please make a tutorial on web api identity framework and how can we use it with Reactjs.

  • @RudranshKumar-mybaby
    @RudranshKumar-mybaby 8 месяцев назад

    good learning

  • @chavalgameplays
    @chavalgameplays Год назад

    In 36:06 when my web page loads, it just shows the buttons Home, Department, Employee however when I click on them it doesn't happen anything? Any idea of what could be the trouble?

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

    Hello - How do you deploy when I see there are two VS and Visual Code IDE's? Solution to this would be great help.

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

    So, Unauthorized user can also access the API Data? If They will have api.

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

    Can you please help me with what the connectionstring will be if i am using developer server

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

    Parabéns....Agora precisamos saber onde HOSPEDAR a API e o REACT JS ou seja por pra RODAR A APP....Obrigado

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

    I LOVE YOU

  • @User-pk7cr
    @User-pk7cr Год назад +1

    can you make this project with authentication? or tell me the implementation of authentication with с# and react

  • @maisameh4646
    @maisameh4646 2 года назад +4

    in visual studio new update startup.cs file is no more available with the installation what can i do please ?

    • @eck3964
      @eck3964 4 месяца назад

      yes, you can make change in the Program.cs file. Startup.cs is officially removed.

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

    Hello friend, congratulations for the channel. I created a few more screens, I'm having difficulty performing a procedure, I created a "Customer Registration" screen and a "Customer Query" screen with a grid and filter by name, now I need a button in which, when clicking, the parameters are directed to "Customer Registration" screen as well as the "Modal" of the "Employee" screen.
    Thanks for the tutorial.

  • @jasoncraig7509
    @jasoncraig7509 Год назад

    when I type AddServicesWithModels it doesnt like it. I get error: 'IServiceCollection' does not contain a definition for 'AddControllersWithViews' please help

  • @kaustavchaudhuri7712
    @kaustavchaudhuri7712 2 года назад +1

    i am getting a error 404 on running the GET method on API

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

    It is showing error to AddcontrollerWithViews() in startup use for json serialisation

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

    this must be old because it's just not working especially "navlink", also to directly fetch a record for update of delete you I had to provide for the int value in the Attribute, when he dose not. It's still one of the best demos I've ever encountered. Just wish mine would have worked like his :)

  • @nevermore6459
    @nevermore6459 Год назад +1

    In my build no startup.cs was created. What do I do in such a case?

    • @myusernameisrighther
      @myusernameisrighther Год назад

      If you are in visual studio 2022, then you should start looking at m.ruclips.net/video/vdhFw1VSowg/видео.html. I promise it’s not a rickroll. But essential to understanding the changes, in my opinion. Sorry I’m late.

  • @DRAGON-pu3mw
    @DRAGON-pu3mw 8 месяцев назад

    i am getting error bcos i dont have Startup.cs in my project as im using .NET 6 (how to configure services in Program.cs?)

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

    Does anybody know why I can't view the images I upload in the frontend? but they are saved in the backend.

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

    Which react version should I use for this tutorial?

    • @edberaga
      @edberaga 9 месяцев назад

      any is fine., it just now the react-router-dom has changed... the is no longer function, it changes into

  • @samgedam0
    @samgedam0 Год назад

    could you please also create a tutorial to upload and watch videos

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

    is this using hooks?

  • @tvsnmurthy2370
    @tvsnmurthy2370 7 месяцев назад

    Am unable to see the startup.cs file in my solution. can you help me on it if anything I missed ?

  • @tech-savant
    @tech-savant 2 года назад +2

    Why class instead of function...

  • @nhlamuloshingange2173
    @nhlamuloshingange2173 2 года назад +1

    I am struggling to access photos from my local server using my local host url + filename

    • @snnoo14
      @snnoo14 Год назад +1

      Did you manage to fix it ?
      Also struggling

  • @mayurikothawade7623
    @mayurikothawade7623 Год назад

    I am facing issues in uploading pic can you please help me out?

  • @dimdum89
    @dimdum89 9 месяцев назад

    Speed running a full site build

  • @jesnuch8956
    @jesnuch8956 3 месяца назад +1

    I don't have starup.cs file ... Then what i do

  • @jayjorneypua8174
    @jayjorneypua8174 2 месяца назад

    Problem with the PUT method on the department. It is giving me a 400 bad request. I tried to copy the exact same code but it is still not working

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

    Can we use both react and web api project under one solution

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

      Yes it can be done. The solution file is very minimal and only used for structure rather than functionality

  • @dnacemunnu9261
    @dnacemunnu9261 Год назад

    .NET Core Web API + Microsoft SQ

  • @ImaginativeWork
    @ImaginativeWork 6 месяцев назад

    How would I deploy this to IIS?

  • @ranjithandge9862
    @ranjithandge9862 Год назад

    An unhandled exception occurred while processing the request.
    NotSupportedException: Serialization and deserialization of 'System.Type' instances are not supported.
    System.Text.Json.Serialization.Converters.UnsupportedTypeConverter.Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
    NotSupportedException: Serialization and deserialization of 'System.Type' instances are not supported. Path: $.Columns.DataType.
    System.Text.Json.ThrowHelper.ThrowNotSupportedException(ref WriteStack state, NotSupportedException ex)
    Please Help Me......!!!!!!!!!!!!!!!!!

    • @briandijcks
      @briandijcks Год назад +1

      Add this in the program file if u dont have the start up, also add the nuget package:
      builder.Services.AddControllers()
      .AddNewtonsoftJson();
      builder.Services.AddCors(policyBuilder =>
      policyBuilder.AddDefaultPolicy(policy =>
      policy.WithOrigins("*").AllowAnyHeader().AllowAnyHeader())
      );

    • @rafwiel
      @rafwiel Год назад +1

      ​ @briandijcks
      Thanks, you saved me some time. Small note: There is AllowAnyHeader() twice, it should be ...AllowAnyHeader().AllowAnyMethod()
      Also, dont forget to add:
      app.UseCors();
      If you dont do it, you will not fetch data from server in React app

  • @unilock7276
    @unilock7276 Год назад

    I'm trying to repeat. Everything seems to be fine, but modals do not open. Does anyone have the same problem?

    • @dwpprof
      @dwpprof 11 месяцев назад

      yes, i maked misstake in word toggle, i write toogle and editor didnt show me this. check correctnes

  • @briandijcks
    @briandijcks Год назад

    at 39:48 my table doesn't get filled, the buttons work, no errors whatsoever. Let me know if anyone has the solution, thanks.

    • @ian-128
      @ian-128 8 месяцев назад

      I have the same problem. Did you find a solution?

    • @briandijcks
      @briandijcks 8 месяцев назад

      I did although I don't remember how exactly, it had something to do with how the code gets sent from the backend which can't be read and shown by the frontend, it knows it exists but can't show it that's why you get the rows but no info.

    • @ian-128
      @ian-128 8 месяцев назад

      I see. I'll see what I can figure out. Thank you for responding.@@briandijcks

  • @user-lw6vq3hu3b
    @user-lw6vq3hu3b 5 месяцев назад

    I didn't get controllers folder

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

    Can we use both react project and web api project under the same solution as different projects.

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

      Yes. I would say this is the preferred way to have the overall folder structure

  • @nnasim5089
    @nnasim5089 Год назад

    Why don't we use Linq here?

    • @stevemulholland477
      @stevemulholland477 Год назад +2

      You definitely should but I think he is using basic SQL query strings to keep it simple and not have to explain Linq or EF to people that don't know it. He's staying on scope.

  • @massiveleg
    @massiveleg 11 месяцев назад +1

    I don't have startup.cs in my template. anyone else?

    • @karabomasilela5465
      @karabomasilela5465 7 месяцев назад

      same , what did you end up doing ?

    • @massiveleg
      @massiveleg 7 месяцев назад

      @@karabomasilela5465 i dont remember. I probably just gave up on the project lol

  • @sabyasachisengupta2077
    @sabyasachisengupta2077 6 месяцев назад

    Your modal not working

  • @Selconag
    @Selconag 3 месяца назад

    Sorry but due to recent updates in react this tutorial is obsolete from now on. Thanks babel too for not updating its packages. Also for people who still wants to go on with it , Switch's are updated as Routes now. So instead of importing Switch from DOM import Routes. When I came into just the good part, too many uncaught errors that video maker did not encounter came to my path. I stumbled upon it and stopped fixing anymore. If you read until here don't watch it. I'm not saying its a bad tutorial (not too good either) but its obsolete, not usable as it is today. Needs a whole update. So go out there and watch newer videos because React is a b*.

  • @stephenjamesyap
    @stephenjamesyap 2 года назад +2

    fucking audio

  • @gusspinto07
    @gusspinto07 4 месяца назад

    what is zoomer doing here talking on the video

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

    I can't install the specified NuGet Package (Microsoft.AspNetCore.Mvc.NewtonsoftJson) - error message: "Package Microsoft.AspNetCore.Mvc.NewtonsoftJson 5.0.9 is not compatible with netcoreapp3.1 (.NETCoreApp, Version=v3.1), Package Microsoft.AspNetCore.Mvc.NewtonsoftJson 5.0.0 supports net50 (.NETFramework,Version=v5.0). But the tutorial specifically states that we are using .NET CORE and also stipulates that we install this NuGet package (which is the only one that appears when I search for the package under the "Browse" tab).

    • @arttutuominen4214
      @arttutuominen4214 2 года назад +1

      Install -Version 3.1.16

    • @theRINspace
      @theRINspace Год назад

      ​@@arttutuominen4214 hmm this still doesn't seem to to work. Did you mean the NewtonsoftJson Nuget package version or the .Net Core App framework?

    • @theRINspace
      @theRINspace Год назад

      Ohh nvm, the JSON text is there. Just needs to be highligted

    • @ilyastunc6389
      @ilyastunc6389 6 месяцев назад

      @@theRINspace NewtonsoftJson Nuget package version

  • @CorradoLembo
    @CorradoLembo 8 месяцев назад

    I've an error at command (min 31) npx create-react-app my-app. npm ERR! code ENOENT..