Complete guide to building an app with .Net Core and React

The complete guide to building an app from start to finish using .Net 10, React 19 and React Query

  • 0.0 (0 Reviews)
  • 0 Students
  • 268 Lessons
  • Neil Cummings

Course Overview

***Course has now been updated for .Net 10 and React 19***

Have you learnt the basics of ASP.NET Core and React? Not sure where to go next? This course should be able to help with that. In this course we learn how to build a multi-project ASP.NET Core solution that is built using Clean Architecture and the CQRS and Mediator pattern that makes our code easy to understand, reason about and extend.

Both ASP.NET Core and React are hot topics and this course will enhance your knowledge of both, simply by building an application from start to finish. In each module we learn something new, whilst incrementally adding features to the application. Building an application is significantly more rewarding than building yet another Todo List from the documentation!

Every line of code is demonstrated and explained and by the end of this course you will have the skills and knowledge to build your own application using the techniques taught in this course.

Here are some of the things you will learn about in this course:

  • Setting up the developer environment

  • Creating a multi-project solution using the the ASP.NET Core WebAPI and the React app using the DotNet CLI and the create-react-app utility.

  • Clean Architecture and the CQRS + Mediator pattern

  • Setting up and configuring ASP.NET Core identity for authentication

  • Using React with Typescript

  • Adding a Client side login and register function to our React application

  • Using React Router

  • Using React Query for async state management

  • Using AutoMapper in ASP.NET Core

  • Building a great looking UI using Semantic UI

  • Adding Photo Upload widget and creating user profile pages

  • Using React Hook Form and Zod to create re-usable form inputs with validation

  • Paging, Sorting and Filtering

  • Using SignalR to enable real time web communication to a chat feature in our app

  • Publishing the application to Azure

  • Many more things as well

Tools you need for this course

In this course all the lessons are demonstrated using Visual Studio Code, a free (and fantastic) cross platform code editor. You can of course use any code editor you like and any Operating system you like... as long as it's Windows, Linux or Mac

Is this course for you?

This course is very practical, about 90%+ of the lessons will involve you coding along with me on this project. If you are the type of person who gets the most out of learning by doing, then this course is definitely for you.

On this course we will build an example social network application that allows users to sign up to events (similar to MeetUp or Facebook), completely from scratch. All we start with is an empty terminal window or command prompt.

All you will need to get started is a computer with your favourite operating system, and a passion for learning how to build an application using ASP.NET Core and React

See more

FAQ

FAQ area empty

Course curriculum

25 chương 268 bài học 33 giờ 46 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Building a walking skeleton Part 1 - .Net API
Chương 3 Building a walking skeleton part 2 - React
  • Introduction 3:45
  • Creating the React project 6:00
  • Reviewing the React project files 8:50
  • Fetching data from the API 8:35
  • Configuring CORS on the API 6:47
  • Creating an Activity type in TypeScript 7:43
  • Using the React developer tools 3:06
  • Adding Material UI 9:22
  • Adding HTTPS support to the client app 5:44
  • Adding Axios for data fetching 6:04
  • Summary of section 3 2:32
Chương 4 Creating a CRUD application using CQRS and Mediator in .Net
  • Introduction 4:37
  • Clean architecture concepts 9:12
  • CQRS concepts 4:00
  • Adding a Mediator handler for a List 13:58
  • Adding a Mediator handler for the Details 7:00
  • Making the API Controllers thinner 5:39
  • Adding a Mediator handler for Creating an Activity 8:23
  • Adding a Mediator handler for Editing an Activity 7:48
  • Adding AutoMapper to the project 6:00
  • Adding a Mediator Delete handler 4:34
  • Using Cancellation Tokens 8:18
  • Using the .Net Debugger 10:40
  • Summary of section 4 3:06
Chương 5 Creating a CRUD application in React
  • Introduction 3:12
  • Folder structure in React 6:25
  • Creating a Nav bar 6:46
  • Styling the Nav bar 10:14
  • Adding a dashboard component 7:55
  • Creating a card for the activities 10:11
  • Creating an activity details view 7:35
  • Selecting an individual activity to view 11:00
  • Creating an Activity form component 5:56
  • Using the useState hook 9:37
  • Form basics in React 11:53
  • Form submission in React 10:39
  • Deleting an activity 6:36
  • Summary of section 5 2:37
Chương 6 React Query and Axios
  • Introduction 9:16
  • Setting up React Query 8:47
  • React Query developer tools 3:22
  • Creating a custom hook 4:40
  • Creating a base Axios instance 7:00
  • Updating an activity with a React query mutation 10:50
  • Setting the selected activity from React query 7:14
  • Creating an activity with a React query mutation 3:46
  • Deleting an activity 4:48
  • Summary of section 6 1:15
Chương 7 Routing
  • Introduction 5:00
  • Setting up React Router 4:27
  • Adding routes 12:00
  • Adding navigation links 10:42
  • Routing to activity details 6:30
  • Fetching an individual activity from the API 7:56
  • Adding a route to edit an activity 6:31
  • Using keys in the routes 4:48
  • Summary of section 7 0:58
Chương 8 Styling the User Interface
  • Introduction 2:29
  • Styling the Activity Card 12:59
  • Stying the Activity Details component 5:54
  • Adding the content for the Activity details 10:14
  • Adding a filters component 11:02
  • Adding a home page 6:56
  • Formatting the dates 9:29
  • Summary of section 8 1:27
Chương 9 MobX
  • Introduction 2:59
  • What is MobX? 8:27
  • Setting up MobX 8:02
  • Using MobX 4:21
  • MobX Actions 6:14
  • Using an alternative approach with MobX 3:56
  • Computed properties 5:39
  • Adding loading state 7:04
  • React query fetching 5:28
  • Summary of section 9 2:59
Chương 10 Error handling
  • Introduction 8:06
  • Validation with Data annotations 9:33
  • Validating with Fluent Validation 9:19
  • Adding Validation middleware 7:14
  • Adding exception handling middleware 14:01
  • Handling API error responses part 1 6:27
  • Handling API error responses part 2 6:07
  • Handling API error responses part 3 9:41
  • Handling exceptions 8:24
  • Validation revisited 5:16
  • Validation revisited part 2 10:37
  • Setting up the client for error handling 8:40
  • Using an Axios interceptor to handle errors 9:23
  • Adding a not found component 4:07
  • Handling Bad Requests 6:09
  • Handling server errors 7:48
  • Summary of section 10 2:39
Chương 11 Forms
  • Introduction 3:17
  • Setting up React hook form 12:06
  • Validating the inputs 7:50
  • Validating the inputs part 2 5:32
  • Creating a reusable Text Input 12:25
  • Creating a reusable Select Input 10:05
  • Creating a reusable Date input 14:34
  • Creating a reusable Place autocomplete input part 1 9:24
  • Creating a reusable Place autocomplete input part 2 8:42
  • Creating a reusable Place autocomplete input part 3 17:33
  • Form submission 7:42
  • Adding the map view 12:10
  • Summary of section 11 2:03
Chương 12 Identity
  • Introduction 6:49
  • Adding the user entity 7:56
  • Configuring Identity 5:48
  • Seeding users into the Database 5:35
  • Testing the Login endpoint 6:48
  • Creating an auth policy 3:23
  • Registering new users 9:39
  • Getting the current user info 7:39
  • Summary of section 12 3:14
Chương 13 Client login and register
  • Introduction 2:05
  • Creating a Login form 11:08
  • Authenticating with the Cookie 10:00
  • Creating a user menu 13:23
  • Conditionally making queries 6:12
  • Private routes 9:29
  • Adding a register form 11:00
  • Handling API validation errors 5:41
  • Summary of section 13 1:26
Chương 14 Entity Framework Relationships
  • Introduction 9:19
  • Configuring the relationship 12:37
  • Creating the Infrastructure Project 10:06
  • Updating the Create Activity 10:07
  • Loading related data 7:24
  • Shaping the data 11:25
  • Using projection 6:54
  • Adding the Attendance function 12:22
  • Adding a custom auth policy 15:56
  • Resolving the edit bug 10:09
  • Updating the seed data 4:18
  • Summary of section 14 2:25
Chương 15 Client side attendance feature
  • Introduction 2:10
  • Updating the types and queries 4:56
  • Updating the Activity card 4:31
  • Creating a profile card 6:33
  • Creating a popover 5:36
  • Updating the details component 10:11
  • Adding the attendance query 9:43
  • Button improvements 8:05
  • Optimistic updating 13:56
  • Summary of section 15 1:11
Chương 16 API Image upload
  • Introduction 5:52
  • Adding cloudinary 9:31
  • Adding the image service 4:30
  • Implementing the image service logic 9:11
  • Creating a photo entity 7:41
  • Creating the add photo handler 5:44
  • Creating a profiles controller 7:35
  • Getting a list of photos 6:10
  • Deleting photos 10:40
  • Setting the main photo 7:44
  • Getting the user profile 6:55
  • Summary of section 16 2:12
Chương 17 Client image upload
  • Introduction 2:31
  • Creating a Profile page 8:32
  • Creating a profile header 6:14
  • Creating the profile content 7:06
  • Getting the profile data 5:13
  • Displaying the images 14:14
  • Conditionally rendering the photo upload widget 6:12
  • Adding a photo upload widget 3:07
  • Adding React Dropzone 6:06
  • Adding React Cropper 10:22
  • Uploading the image 13:28
  • Setting the main image 12:11
  • Deleting an image 8:29
  • Adding an about page 12:56
  • Summary of section 17 0:53
Chương 18 Challenge - edit profile feature
  • Introduction to challenge 3:26
Chương 19 SignalR
  • Introduction 6:56
  • Setting up the comment entity 5:23
  • Creating the CommentDTO and mapping 3:34
  • Creating an add comment handler 6:56
  • Creating a list handler for the comments 2:58
  • Creating a SignalR Hub 9:31
  • Client SignalR setup part 1 14:15
  • Client SignalR setup part 2 9:56
  • Configuring the chat component 3:40
  • Sending comments 11:35
  • Converting dates to use UTC 5:39
  • Summary of section 19 3:34
Chương 20 Adding a following feature
  • Introduction 3:08
  • Adding the join entity 7:22
  • Creating a follow toggle handler 7:00
  • Getting a list of followings 6:38
  • Updating the profile class and mapping profiles 13:23
  • Configuring the UI for followings 5:13
  • Adding the follow toggle method 7:31
  • Adding a followers component 15:12
  • Summary of section 20 1:30
Chương 21 Paging, sorting and filtering
  • Introduction 5:55
  • Setting up cursor pagination part 1 10:52
  • Setting up cursor pagination part 2 4:42
  • Setting up client pagination part 1 8:21
  • Setting up client pagination part 2 4:09
  • Improving the UI 8:07
  • Adding infinite scrolling 6:28
  • Setting up filtering in the API 12:16
  • Client side filtering 4:10
  • Updating the filters 7:51
  • Challenge 4:49
  • Challenge solution 7:00
  • Summary of section 21 1:27
Chương 22 Publishing
  • Introduction 3:26
  • Preparing the client app for publishing 12:52
  • Serving the client app from the .Net Kestrel server 8:09
  • Creating a Sql Server DB 12:35
  • Connecting to the Sql Server 3:22
  • Configuring the app to use Sql Server 13:45
  • Setting up Azure 11:00
  • Creating an Azure Sql DB 6:34
  • Deploying the app to Azure 13:49
  • Continuous deployment part 1 10:35
  • Continuous deployment part 2 10:51
  • Final checks and config settings 9:48
  • End of course summary 3:28
Chương 23 Identity Cookbook
  • Introduction to the identity cookbook 3:20
  • Creating a resend account 7:17
  • Require email confirmation in identity 4:51
  • Creating an email service 8:01
  • Updating the account controller 11:10
  • Testing the confirm email functionality 8:52
  • Setting up the client 11:06
  • Adding the verify email component 12:23
  • Updating the login form 10:40
  • Adding a resend email component 10:16
  • Deploying the email confirmation feature to Azure 12:39
  • Introduction to the password reset feature 1:04
  • Creating a password change function for logged in users 9:10
  • Adding the forgot password feature on the API 7:21
  • Creating a form wrapper for our authentication forms 13:53
  • Creating a change password form 12:57
  • Creating a forgot password form 11:15
  • Creating a reset password form 9:28
  • Deploying the password reset feature to Azure 4:43
  • Introduction to Social login 2:27
  • Setting up GitHub and getting the keys 6:04
  • Setting up the client methods 6:39
  • Adding the auth callback component 8:31
  • Adding the social login API endpoint part 1 13:05
  • Adding the social login API endpoint part 2 5:12
  • Adding the social login API endpoint part 3 6:41
  • Adding the social login API endpoint part 4 7:45
  • Deploying the social login feature to Azure 8:17
Chương 24 Updating to .Net 10 and Material UI v7
  • Updating the project to use .Net 10 8:27
  • Updating client packages to use latest versions (as at Jan 26) 11:29
Chương 25 Legacy content
  • Where to find the legacy (2023) version of this course
  • Where to find the legacy (2020) version of this course

Requirment

  • Some development experience required (3 -6 months)

  • A computer with Mac OSX, Windows or Linux installed

  • A passion for learning how to build web applications

Outcomes

  • Learn how to build an application from start to publishing with .Net (9.0), React (with Typescript) and Mobx

  • How to build a Web API in .Net Core with Clean Architecture using the CQRS + Mediator pattern

  • How to use AutoMapper and MediatR packages in the .Net projects

  • How to build a multi-project solution with .Net Core

  • How to use Entity Framework Core as the Object Relational Mapper

  • How to integrate ASPNET Core SignalR into an application for real time web communication

  • How to add Identity and Authentication using .Net Core Identity

  • How to build a Client side application for the API with React

  • How to use MobX as a state management library

  • How to build our own Photo upload widget with a Dropzone and a Cropper to resize images

Instructor

...
Neil Cummings

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all