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

Ruben Heeren
Ruben Heeren
80 هزار بار بازدید - 3 سال پیش - In this video I demonstrate
In this video I demonstrate how to combine the popular front end JavaScript library React and the new ASP.NET Core 6 Minimal Web APIs.

At the end of it you'll have a minimal example CRUD Application that demonstrates how to combine the two. Can be used as a clean template to kickstart your CRUD apps.

Publishing to the Microsoft Azure Cloud is also covered.
The React app will be published to an Azure Static Web App Resource and the Minimal Web API to an Azure App Service Resource.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬


►► Blazor - Real World Developer Portfolio Course Discount Link:
https://rubenheeren.com/course-promo-...

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬


►► DOWNLOAD SOURCE CODE

Buy link:
https://rubenheeren.com/course-promo-...

Free link:
https://github.com/RubenHeeren/ASPNet...

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬


►► LIVE DEMO

React Client:
https://calm-water-04859b403.azuresta...

ASP.NET Web API:
https://aspnetcorereacttutorial-aspne...

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬


►► LINKS MENTIONED

Microsoft Docs ASP.NET Core Minimal Web APIs:
https://docs.microsoft.com/en-us/aspn...

Traversy Media Free React Crash Course (React knowledge level I assume you have):
React JS Crash Course

Microsoft Docs EF Core CLI:
https://docs.microsoft.com/en-us/ef/c...

Create React App:
https://reactjs.org/docs/create-a-new...

Install Bootstrap to React:
https://create-react-app.dev/docs/add...

GitHub YAML syntax:
https://docs.github.com/en/actions/le...

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬


►► TIMESTAMPS

0:00 - Intro & Demo
4:27 - Blazor Course
5:20 - Setting Up Dev Environment
10:20 - Creating & Cleaning the Server Project
16:17 - EF Core Code First Database
31:11 - Repository for DB Operations
38:49 - First API Endpoint
40:47 - Improving Swagger UI
45:48 - Other API Endpoints
55:14 - Creating & Cleaning the React Project
1:07:07 - Adding Bootstrap  
1:10:16 - Displaying Posts in a Table
1:23:49 - Server CORS Policy
1:28:21 - Filling the Table with Posts
1:33:02 - Constants File with API Endpoints
1:42:59 - PostCreateForm Component
2:09:49 - PostUpdateForm Component
2:23:14 - Deleting Posts
2:30:50 - Publish Server to Azure App Service
2:38:33 - Publish React to Azure Static Web App + GitHub Actions
2:52:43 - Fix CORS Policy
2:55:11 - Final Commit & Closing Thoughts
2:57:05 - Thanks for watching

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬


►► CREDITS
Lively Animated Desktop Wallpaper Software:
https://github.com/rocksdanister/lively

Motherboard Background Image:
https://unsplash.com/@alexkixa

Visit my website (example of what you can build with ASP.NET):
https://rubenheeren.com

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Good luck on your developer journey!

#react #minimalapi #aspnetcore
3 سال پیش در تاریخ 1400/08/24 منتشر شده است.
80,024 بـار بازدید شده
... بیشتر