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

แชร์
ฝัง
  • เผยแพร่เมื่อ 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

  • @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."

  • @vimaladevi7781
    @vimaladevi7781 ปีที่แล้ว

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

  • @lovespeed143
    @lovespeed143 2 ปีที่แล้ว

    Thank You for the tutorial still worth it in 2022.

  • @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.

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

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

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

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

  • @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

    • @marinrusi7835
      @marinrusi7835 2 ปีที่แล้ว

      Is this using hooks or redx?

    • @lovespeed143
      @lovespeed143 2 ปีที่แล้ว

      Thanks

    • @BigwantPrezentacje
      @BigwantPrezentacje ปีที่แล้ว +1

      import {BrowserRouter, Route, Routes, NavLink} from 'react-router-dom';
      ...
      ...

    • @prashantkori8245
      @prashantkori8245 ปีที่แล้ว

      Make these Changes

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

      @@BigwantPrezentacje Thanks!! this worked !

  • @Reaper7mk
    @Reaper7mk 2 ปีที่แล้ว

    DUDE...THANK YOU!

  • @RahmatLasisi
    @RahmatLasisi 3 ปีที่แล้ว

    You are amazing!

  • @fikretakbass
    @fikretakbass ปีที่แล้ว

    May God bless you bro ♥

  • @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?

  • @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.

  • @everforexcanada5663
    @everforexcanada5663 ปีที่แล้ว

    great Vid! thanks!

  • @zeynebvural5974
    @zeynebvural5974 ปีที่แล้ว

    Awesome🎉

  • @UttapanK
    @UttapanK 2 ปีที่แล้ว

    Thank you so much.

  • @surmusic15
    @surmusic15 ปีที่แล้ว +1

    The best one

  • @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

  • @DOCGaming911YT
    @DOCGaming911YT 2 ปีที่แล้ว

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

  • @superj1002
    @superj1002 2 ปีที่แล้ว

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

  • @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.

  • @User-pk7cr
    @User-pk7cr ปีที่แล้ว +1

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

  • @techyvivekraj
    @techyvivekraj 2 ปีที่แล้ว

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

  • @2005Azm
    @2005Azm 3 ปีที่แล้ว

    Wonderful ! Thank you for teaching us !

  • @krutikamore780
    @krutikamore780 2 ปีที่แล้ว

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

  • @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

  • @kathirangamuthu3574
    @kathirangamuthu3574 ปีที่แล้ว

    Thank you

  • @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?)

  • @lcppb
    @lcppb 2 ปีที่แล้ว

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

  • @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 :)

  • @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?

  • @RudranshKumar-mybaby
    @RudranshKumar-mybaby 9 หลายเดือนก่อน

    good learning

  • @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.

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

    thanks tutorial

  • @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 5 หลายเดือนก่อน

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

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

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

  • @tech-savant
    @tech-savant 2 ปีที่แล้ว +2

    Why class instead of function...

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

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

  • @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.

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

      can you view now?

  • @mayurikothawade7623
    @mayurikothawade7623 ปีที่แล้ว

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

  • @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

  • @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.th-cam.com/video/vdhFw1VSowg/w-d-xo.html. I promise it’s not a rickroll. But essential to understanding the changes, in my opinion. Sorry I’m late.

  • @ataaay6951
    @ataaay6951 2 ปีที่แล้ว

    I LOVE YOU

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

    How would I deploy this to IIS?

  • @marinrusi7835
    @marinrusi7835 2 ปีที่แล้ว

    is this using hooks?

  • @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

  • @waristhameethawee4786
    @waristhameethawee4786 2 ปีที่แล้ว

    Which react version should I use for this tutorial?

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

      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

  • @user-lw6vq3hu3b
    @user-lw6vq3hu3b 5 หลายเดือนก่อน

    I didn't get controllers folder

  • @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

  • @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

  • @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

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

    Speed running a full site build

  • @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 9 หลายเดือนก่อน

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

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

      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 9 หลายเดือนก่อน

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

  • @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

  • @massiveleg
    @massiveleg ปีที่แล้ว +1

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

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

      same , what did you end up doing ?

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

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

  • @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.

  • @dnacemunnu9261
    @dnacemunnu9261 ปีที่แล้ว

    .NET Core Web API + Microsoft SQ

  • @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 7 หลายเดือนก่อน

      @@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..