
Pair ASP.NET Core 6 minimal Web API with the React frontend to CRUD posts, then publish to Azure static web app resource and Azure app service resource via GitHub actions.
Set up your dev environment by installing ghost, Visual Studio 2020 preview for web API, Visual Studio Code for React, Node.js, .NET SDK, EF Core tools, and SQLite DB Browser.
Create an ASP.NET Core web API server in Visual Studio using minimal APIs, enable inline parameter name hints, and clean the generated project for a lean back end.
Set up Entity Framework Core with a code-first approach, define the boasts model and DB context, configure SQLite, add migrations, and seed initial posts.
Create a static repository class to perform database operations for posts, with async methods to get all, get by id, create, update, and delete posts using a DB context.
Add an API endpoint to fetch all posts, wire it to the repository with an async anonymous function, and test to retrieve posts from the database.
Update the swagger UI for the ASP.NET Core + React app by configuring open API info, version, and a custom UI title and route.
Implements the full set of post CRUD endpoints using ASP.NET Core minimal APIs, including get by id, create, update, and delete, with repository calls and proper responses.
Create and clean a React client beside the ASP.NET server using the Ampex tool, then set up Visual Studio Code, configure Edge as the browser, and run the app.
Install bootstrap in the React app with npm install bootstrap and import it in index.js. Use container, row, col, and flex utilities to center content and render hello Bootstrap.
Display all posts in a Bootstrap table by rendering a posts table and fetching data from the ASP.NET Core web API using the Fetch API, storing results in React state.
Learn to configure a CORS policy in an ASP.NET Core web API to let a local React client and Azure static apps share resources.
Render the posts table in React only when posts exist, using the and operator. Map posts to dynamic rows and add a clear posts button.
Centralize all API endpoints in a React project's constants file, supporting development and production URLs for get all posts, get post by id, create, update, and delete posts.
Implement the PostCreateForm component, capturing title and content, submitting via POST to the server, and signaling creation through props, with show and hide behavior.
Transform the create form into a post update form, prefill with props, call on post updated, and update the in-memory posts array after submitting to the update api.
Implement a delete button for posts, confirm deletion with an alert showing the title, call delete post by ID, and remove the post from the UI upon success.
Publish a React app and its web API to Azure App Service, configure a self-contained .NET deployment, and set up a simple continuous integration pipeline to verify post endpoints.
Publish your React app to an Azure static web app using GitHub Actions, configuring the production URL, repository, and CI/CD workflow for automated deployment.
Fix the cors policy to allow requests from the Azure React app to the ASP.NET Core api, update policy with the Azure url, publish, and verify endpoints.
Stage changes, commit, and push to your repository, then monitor GitHub Actions as you verify commits and conclude the ASP.NET Core and React CRUD app tutorial.
ASP.NET Core React Course (Small CRUD App) - In this course I demonstrate how to combine an ASP.NET Core version 6 Minimal Web API with the popular front end JavaScript library React so that at the end of it you'll have a minimal example CRUD Application that shows how to combine the two.
The course includes publishing to Microsoft Azure. The React app will be published to an Azure Static Web App resource and the Web API to an Azure App Service resource.
This course is available for free on YouTube but if you can afford it please buy this course. This one took a long time to make but I want to offer it for free for those who can't afford to buy it.
The most important technologies you'll learn are C#, .NET 6, ASP.NET Core, React, The Microsoft Azure Cloud and GitHub.
Developers get paid a lot of money to build applications with this stack. According to Glassdoor, the national average salary in the United States for .Net Developers is $96,000 dollars per year.
So I'm Ruben and it's my goal to help people learn software development with C# and .NET and I do that by creating educational content about it.
I have taken a lot of online programming courses myself and while taking them I often had ideas on how I'd communicate the things they're teaching differently.
I bundled all those ideas I had and implemented them in this course. One of them is seeing the teacher's face. I learn better when I see a teacher's face, so I'll actually show my face in all the lectures. Second, I am going to write out all the code that matters, so no annoying copy pasting of important logic and third no annoying "I have made some progress off camera.". There won't be any gaps I've done off camera between lectures.
As we progress through the application we come across basic and intermediate concepts about the technologies we're working with, I explain these subjects and point you to good resources on the internet about them as we encounter them, so you're not overloaded with information before you've even seen a line of code.
The best learning strategy I have personally found (having been in the IT field for 7 years now as a student, employee and entrepreneur) is to learn some theory and then putting that into practice as soon as possible. This really cements the new information into my brain. So I teach people using this same strategy.
This way of teaching allows my students to get a lot of value from my courses and the people paying for your skills will notice you'll have a deep understanding of your stack. This will lead to you growing faster in your career, which in turn allows you to earn more money.
There's no risk for you because here on Udemy there is a No Questions Asked 100% refund for 30 days.
It's up to you to take action!