Data models serve like signatures of the data that you work with. In data models, learn how to define the columns, data types, constraints, and much more. In this video, learn how to create all the data models that you need throughout this course.
- [Narrator] To work with our data, … we are going to create a data model. … So, let's go to visual code and see this in action. … In here, let us create a new folder. … We are going to name this folder, "Data," … because inside here, … we are going to put all the data-related files … like the model, services, et cetera. … Now inside the "Data" folder, … let's create another one named, "Models." … Inside the "Models" folder, … we are going to create a new file named, "Trip.cs" … because we are creating an app to manage our trips. … So, let us now define the namespace in here … so for that, we write, "namespace Trips.Data" … so "public class Trip." … To identify the trips, we need an identifier. … So, for that, write in here, "prop" then double tab. … Let us give the integer data type … and then name this property, "Id." … Then each trip has a name. … So, write in your prop, … change the type to, "string," … and name the property, "Name." … Let's create another one for, "Description," …
- Setting up the app infrastructure
- Creating data models
- Creating, reading, updating, and deleting API endpoints
- Testing API endpoints using Postman
- Reading data from React
- Adding new data from React
- Handling errors
- Implementing Redux in an existing React app
- Implementing authentication in your React app
Skill Level Intermediate
Managing App Secrets in .NET Corewith Ervis Trupja28m 15s Intermediate
1. Setting Up the App Infrastructure
2. Setting Up Web API
3. Getting Started with React
4. Implementing Redux to an Existing React App
5. Implementing Authentication in Your React App
Where to go next44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.