We are going to create the ASP.NET Core and React projects separately in this chapter. In Chapter 1, Understanding the ASP.NET Core React Template, we discovered that old versions of React and create-react-app were used. Creating the React project separately allows us to use a more recent version of React and create-react-app. Creating the React project separately also allows us to use TypeScript with React, which will help us be more productive as the code base grows.
Let's open Visual Studio and carry out the following steps to create our ASP.NET Core backend:
- In the startup dialog, select Create a new project:
- Choose ASP.NET Core Web Application in the wizard that opens and click the Next button:
- Create a folder called backend in an appropriate location.
- Name the project QandA and choose the backend folder location to save...