Build a React.js Quiz App with Asp.Net Core API

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

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

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

    goo.gl/bPcyXW : Buy me a Coffee
    bit.ly/2t0op0W : React + AspNet Core CRUD
    bit.ly/4fSmgXP : Everyone's favourite way of creating React forms
    bit.ly/3X6j820 : JS Array Method : Reduce
    bit.ly/4fSmgXP : Full Playlist - React &.Net Core API

  • @dotnetfullstack3217
    @dotnetfullstack3217 2 года назад +5

    Very nice tutorial.
    For error:
    12:00 : if anyone getting blank page after adding dark mode, please check imports
    import { createTheme } from '@mui/material/styles';
    import { ThemeProvider } from '@emotion/react';
    import { CssBaseline } from '@mui/material';
    this made my code to work

  • @lucastvms
    @lucastvms Год назад +3

    One of the best tutorials of my entire life. Everything worked smoothly. I'm really thankful to you. Already subscribed and hope that you continue with the marvelous tutorials.

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

      Thank you so much.
      Really appreciated.

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

    This is the youtube page i have been looking for since 1655AD, i am a front end dev and just recently dived into C#, it was all fun up until recently and this page is the solution to all the C# problem in this world
    i amd dancing right now, heheheheh

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

      Thanks for your wonderful feedback.

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

    Sir I just completed the project, and it was really helpful thx for ur effort.

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

    Awesome tutorial! Please make more!!! 💪

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

    Don´t you like typescript? Your tutorials are wonderful! Please keep posting video like this! Thank you very much!

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

      Thanks for the kind words. I do like typescript but most people opt to react with javascript.

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

    Guys dark mode doesn't work as it supposes to. You must import the correct syntax which is
    import { ThemeProvider, createTheme } from '@mui/material/styles';
    import CssBaseline from '@mui/material/CssBaseline';
    When you expect the program to import that automatically it imports wrong.

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

      you mean the 'auto import' from the IDE right ?

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

      @@CodAffection yep

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

    Hi bro, i use to regularly follow your videos without any fail and many times your videos help me out in different aspects.. no doubt that this is also one of the diamond in your collection.. can you do the same using Angular, Core and API

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

      Thanks for your wonderful feedback.
      Angular version is here : ruclips.net/video/geEWd7mDlTI/видео.html
      But Old.

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

    OMG! Excelent tutorial, can i have an example of exporting to excel or PDF?

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

    Also, guys if ur timer does not work properly get the timer function out of "then" and put it after the catch

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

      Thanks, it worked.
      Actually I've removed the startTimer from below the setQn, then added a finally clause after the catch:
      ...
      .finally(startTimer());

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

    Hello Sir its the best Lecture I have ever seen Thanks for your valuable time and knowledge
    Can you please make Ecommerce web APP using react plz?

  • @Lazy.espresso
    @Lazy.espresso Год назад

    @CodAffection shouldn't the "api/Questions/GetAnswers" call be a GET call instead of a POST ?? Technically we are retrieving something from the database & using it in some logic in our front end code. Please let me know your thoughts on this.

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

      yes, we are retrieving something and we are also posting the object containing the selected options.
      In this given context, there is no strong reason to choose one over the other. it's up to you.
      But if you are sending secure data, then a post request is strongly recommended. Apart from the recommended best practices, by default, all frameworks implement security features like cors, antiforgerytocken, etc.

    • @Lazy.espresso
      @Lazy.espresso Год назад

      @@CodAffection Got it, thanks for the explanation! And it's a great tutorial overall.

  • @shabanelmogy7912
    @shabanelmogy7912 5 месяцев назад

    thanks alot

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

    Hello Im my app is running but theres an error at the console: DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL. How do I resolve it

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

    Please provide this project in angular and .net core web api

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

    Hope you reply, I have been trying to create a project using your Instruction, However I am keep geting error 400 bed request, when I try to post using ReactApp, my http path works fine in postmaster. not sure Cant find answer in google eather.

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

      no need's to reply, I resolved the error

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

    Why not just make the darktheme optional?

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

    I have written the same code to create API endpoints. It is not working in my system.

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

    how do I solve this error @CodeAffection AxiosError {message: 'Request failed with status code 404'

  • @Lazy.espresso
    @Lazy.espresso Год назад

    My timer is running at twice the speed. Any idea what might be going wrong??

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

      I just answer that on the comments. If your timer does not work properly get the timer function out of "then" and put it after the catch

    • @Lazy.espresso
      @Lazy.espresso Год назад +1

      @@golcuk2076 Your suggestion worked, seems like the async nature of setQuestions and setTimeTaken (via startTimer) were somehow causing the trouble while being called one after another (in "then" block). Thanks for the help!

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

      @@Lazy.espresso ur welcome

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

    Everytime i login with the same info i get new user in DB. What's the problem?

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

      It shouldn't happen, please try to run the app in debug mode.

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

    hello sir, i was a .net developer back in 2019; due to covid i lost my job; and had gap of 2 yrs from coding for personal reasons (tried supporting my parents in local business); however, due to financial shortage; i want to get back a job as developer; but have lost my coding skills; please suggest which side should i learn, mean or mern stack; which is easy to learn faster and get a job as soon as possible;plz reply.