From the course: Building React and ASP.NET Core Applications
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Create a new application
From the course: Building React and ASP.NET Core Applications
Create a new application
- [Instructor] To create a new Web API with React App, we are going to use the React template. So for that we are going to use the dotnet new react command. Let's go to Visual Code and see this in action. In here go to File, then Open Folder, and choose a folder where you want to put your application. Now, inside here let us create a new folder. We are going to name this folder Trips, because our app is trip related. So choose the folder, and then click the Select Folder button. Inside here, right-click and then go to Open in Terminal. We said that we going to use the dotnet new react command, but if you want to see all the template, you can just type in here dotnet and then new, press Enter, and you will see a list of all the default templates. So for example, if you want to create a Solution file, you can use the sln. If you want to create an ASP.NET Core MVC App, you can use the mvc command. And in our case, we want…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.