- [Instructor] In the last video, I mentioned…that I need to copy the images,…the product images and the logo,…to the exercise file where the project is located.…So I just did that.…Wanted to show you really quickly, you can see here.…And under wwroot we have the images and the logo.…Now let's go back to our Visual Studio project,…and create the data model.…First, add a folder called Model,…that is the industry practice, that we…keep a separate folder for models.…
So let's name it Model, and add a class.…Model is nothing but a class, so I'm going to add a class.…We need the customer information,…so we name it as Customer class.…And we just need some public properties…with getter and setter.…The property names will be same…as the data host field names.…
Let's put getter and setter here.…We'll get, set.…Next we need the other fields,…which are also in the database columns.…So we have Name, and this is going to be string.…And the rest of the properties…will be actually strings, so I'm going okay, close.…Just control-click, append there.…
AuthorKazi Nasrat Ali
- Setting up a dev environment
- Front-end frameworks
- Templates: React.js, Angular.js, Vue.js, Aurelia.js
- NodeServices and Node.js
- Single-page application services
- Using HMR (Hot Module Replacement)
- Performing server-side prerendering
- Using node-chartist
- Creating a database, tables, and stored procedures
- Creating data models, controllers, and actions
- Adding React components and subcomponents
- Testing and publishing an app
Skill Level Intermediate
1. Exploring ASP.NET Core SPA Project Templates
3. Creating a React and ASP.NET Core App
- 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.